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

TOPIC: cfgmak

Re:cfgmak 13 years 1 month ago #2605

  • clebouteiller
  • clebouteiller's Avatar
I have run fromdos on every text file in all the directories.
Now I see less errors in the compilation, here is the log file from makeall90

However, when I try to launch a test case, I get an error message "telemac not found". I hope it is now only a problem of path that I am trying to solve.

My sources come from the v6p1 folder available on telemac website (sources.zip). Are these sources supposed to be for both windows and linux users? In that case, does that mean that any linux user will have to convert all the files from dos to unix format? Although it might sound obvious for more experienced people, I think it could be helpful to add into the installation manual that the files have to be converted.

Thank you very much for your help,
best regards,

Caroline
Attachments:
The administrator has disabled public write access.

Re:cfgmak 13 years 1 month ago #2610

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hi,

According to your compil.log, you have successfully compiled TELEMAC. Try to run a TELEMAC2D test case with "telemac2d cas..." instead. Or "sisyphe" if it's a SISYPHE test case.

Well, sources are valid for both Linux and Windows but, yeah, may be we should post two zip files for dealing with carriage return (or add note in our installation note).

When downloading sources files directly from the SVN repository, SVN deals automatically with this issue and convert ASCII files according to the system you are using.

Regards,

Fabien Decung
The administrator has disabled public write access.

Re:cfgmak 13 years 1 month ago #2627

  • clebouteiller
  • clebouteiller's Avatar
Hi,
The test case with telemac2d only works well (test case that include the compilation of an .f file), but the one that is coupled with sisyphe does not work. I enclose the log for this test.

And I have to export the path to telemac/v6p1/bin and variable SYSTELCFG each time I open a new terminal, would you have any idea of where I should store them to avoid that?

Thank you,
Regards,
Caroline
Attachments:
The administrator has disabled public write access.

Re:cfgmak 13 years 1 month ago #2631

  • ails
  • ails's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 140
  • Thank you received: 17
Hi,

The error message in your log file is :
" time: cannot run out830_gfortran_linux.exe: No such file or directory "

This EXE should exist in the temporary directory (cas*tmp)

=> If the EXE file doesn't exist, please check in cas*err*log file if there are more error messages. But, well, I don't see no reason why it shouldn't exist. EXE file is created after the "*** LINKING ***" operation. Is a file named t2d_loire-ingrandes.f_gfortran_linux_v6p1.exe in the base directory?

=> If the EXE file does exist in the temporary directory, it seems that the system is not able to run the EXE. This can be solved by adding the "." directory in the PATH (cf FAQ : Export the ‘.’ Directory in your PATH. ; export PATH=’.’:$PATH)


Exporting variables [Linux] :

+ Well, you can export these variables in your $HOME/.bashrc file, it will be automatically sourced in new terminals.

+ + But I prefer put them in a source file (say src.telemac.gfortran.v6p0.sh) activated by an alias ("source ..../src.telemac.gfortran.v6p0.sh" in .bashrc or .bash_aliases). It allows me to switch easily between versions and configurations (compilers, options, specific sources...). Also more comfortable for sharing versions with different users (and debugging them).

+ + + Or using Linux modules but I'm not comfortable with. If anyone knows how to, I will be interested in.

Best regards,

Fabien Decung
The administrator has disabled public write access.

Re:cfgmak 13 years 1 month ago #2649

  • clebouteiller
  • clebouteiller's Avatar
Thank you, yes adding the '.' to the PATH solved the issue, sorry for not looking through the FAQ then.
And unfortunately I am not an expert with linux so I can not help with the modules.
Best regards,
Caroline
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

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