
#Prepros compile error code#
It then happens often when trying to compile sisyphe (first code in the makeall90 script). This happen when trying to link and create executables when systel.ini has not been configured properly. Message error is “undefined reference to `pre4_mumps” Why? LK_MPI="mpif90 -o -Xlinker -start-group -end-group "ĭon’t forget to run cfgmak after any change in systel.ini. In file systel.ini and in the section dedicated to gfortran, please change : This often happens when object files are produced by gfortran. Libraries are not ordered as expected by the GNU linker LD. (.text+0x26): undefined reference to `MAIN_' Libgfortranbegin.a(fmain.o): In function `main' What? Or a similar command as tofrodos on Debian: This was reported when installing on Linux Ubuntu.
#Prepros compile error windows#
In ASCII files, carriage returns from Windows on Linux and Unix may cause problems. Message error is “cfgmak: line 14: Error: command not found ” Why? If cfgmak fails, please check your settings in file systel.ini.Ĭfgmak: line 14: Error: command not found What? If cfgmak command is not found, please check your PATH. Try to run cfgmak for updating file systel.ini. You didn’t run the cfgmak command or it fails before launching makeall90. You get an error message like Repertoire 'bief/bief_v6p1/sources_Error or undefined GENERAL bloc in… Why? Repertoire 'bief/bief_v6p1/sources_Error or undefined GENERAL bloc in What? If the SYSTELCFG environment variable is set as the correct path to the correct location of the "systel.ini", then the command "cfgmak" shoud be run, or that it was run before the variable SYSTELCFG was set. The "cfgmak.mak" file must be present in the same directory as the "systel.ini" file when using the Perl scripts. This message can be seen if the variable SYSTELCFG is not be properly set (should point to the /config directory under the installation procedure with Perl) or if the the command "cfgmak" has never ben used to create the cfgmak.mak from the systel.ini in the first place. You get an error message like “file \cfgmak.mak not found ” Why? So far, slightly modified sources are only required for the obsolete Compaq Visual Fortran compiler. If it does not exist, the directory "sources" is taken. The procedure looks for specific sources, slightly modified version of the standard sources, indexed with the hosttype name (gfortran in this case, see the HOSTTYPE key in the configuration file for the installation procedure with Perl). “ Repertoire damocles/damo_v6p1/sources_gfortran inexistant ” Why? When running makeall90, you get message like:

You should compile all the telemac sources at least one time Repertoire damocles/damo_v6p1/sources_gfortran inexistant What?

If you didn't change any source file in order to have a fine adaptation of the code to your own case (as it could be done for spatial varying boundary conditions for example), this compiled version is sufficient.

#Prepros compile error download#
You could find compiled version of Telemac on the download page. Once located in your working directory (where the steering file is) you just have to enter telemac2d cas.txt if you want to run "Telemac2d" module with a steering file named "cas.txt" When the configuration of your computation case is done, you could run the simulation by a simple click on the dedicated button (storm icon).
