Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: v8p0r0 cannot be exported on case-insensitive file systems

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32592

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Dear Telemac developers,

I just tried to download telemac v8p0r0 on my Mac, but it failed because in scripts/python3, there are two folder named "TelApy" and "telapy". The file system of my Mac is case insensitive (that was the default and recommended option), that is why. I'm not a Windows user, but I think they will have the same problem, no?

Is that possible to consider this aspect in future releases? Or should I consider to reinstall my Mac with the case-sensitive version of their file system (with then potential issues with other software).

Kind regards,

Olivier
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32595

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

Thanks for the info.
We saw that in the trunk version and it is solved there.
Those case_sensitive folder are empty.
This comes from a bug with our version of git-svn and empty folder.
You can just remove the TelApy folder to solve your issue.

As for the python3 in v8p0 it has not been validated on windows.
It is still in a beta version.
The code is validated on windows but only python2 version was.

Cheers
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: o.gourgue

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32615

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
Thank you Yugi.

Now, I have been able to download and even compile v8p0r0 on my Mac using python2 scripts. However when trying python3 scripts, I did not work.

See my configuration file, compiling script and the log in attachment.

I'm not sure whether the problem is on my side or not...
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32616

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I see the error another bug i've fixed on the trunk...
Just add:
options:
under [general] in your cmdf file.
That should solve the issue.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32618

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
In which cmdf file(s) exactly?
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32624

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
My bad i meant your systel.cfg file
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: o.gourgue

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32626

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
It worked indeed. Compilation is now working fine with python3 as well. Thanks!

Now, I still have a problem when running the examples in telemac2d/malpasset. I run t2d_malpasset-fine.cas in parallel (openmpi) without problem. However, if I run t2d_malpasset-eria.cas in serial (gcc), I have the following error:

... processing the steering file

... checking parallelisation
Traceback (most recent call last):
  File "/Users/ogourgue/Applications/telemac/v8p0r0/scripts/python3/runcode.py", line 288, in <module>
    main(None)
  File "/Users/ogourgue/Applications/telemac/v8p0r0/scripts/python3/runcode.py", line 271, in main
    run_study(cas_file, code_name, options)
  File "/Users/ogourgue/Applications/telemac/v8p0r0/scripts/python3/execution/run_cas.py", line 138, in run_study
    run_local_cas(my_study, options)
  File "/Users/ogourgue/Applications/telemac/v8p0r0/scripts/python3/execution/run_cas.py", line 21, in run_local_cas
    my_study.build_mpi_cmd(options.hosts)
  File "/Users/ogourgue/Applications/telemac/v8p0r0/scripts/python3/execution/study.py", line 218, in build_mpi_cmd
    mpicmd = get_mpi_cmd(self.cfg['MPI'])\
  File "/Users/ogourgue/Applications/telemac/v8p0r0/scripts/python3/execution/get.py", line 88, in get_mpi_cmd
    mpi_cmd = cfg_mpi['EXEC']
KeyError: 'EXEC'

Any clue?

My running script in attachment.
Attachments:
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32633

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
That is indeed a bug.
I have added it to my todo list.
A quick work around is to add:
mpi_cmd_exe: <exename>
to you serial configuration.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32637

  • o.gourgue
  • o.gourgue's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 155
  • Thank you received: 11
I did not work. In attachment, the configuration file, with the modification you suggested. I got the same error message as previously. Even after recompilation.
Attachments:
The administrator has disabled public write access.

v8p0r0 cannot be exported on case-insensitive file systems 5 years 10 months ago #32649

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
My bad it was mpi_cmdexec and not mpi_cmd_exe
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
The following user(s) said Thank You: o.gourgue
  • Page:
  • 1
  • 2
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.