FAQ
Frequently Asked Questions
How can I run a Telemac simulation?
- From the Fudaa-Prepro Interface. When the configuration of your computation case is done, you could run the simulation by a simple click on the dedicated button (storm icon).
- From a DOS command windows. 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"
Is a compiler required to use Telemac?
On Windows OS : NO. You could find compiled version of Telemac on the download page. 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.
On other OS : YES (for the moment). You should compile all the telemac sources at least one time
Repertoire damocles/damo_v6p1/sources_gfortran inexistant
What?
When running makeall90, you get message like:
“ Repertoire damocles/damo_v6p1/sources_gfortran inexistant ”
Why?
This is not an error message. 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). If it does not exist, the directory "sources" is taken. So far, slightly modified sources are only required for the obsolete Compaq Visual Fortran compiler.
File cfgmak.mak not found
What?
You get an error message like “file \cfgmak.mak not found ”
Why?
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.
Solution :
The "cfgmak.mak" file must be present in the same directory as the "systel.ini" file when using the Perl scripts. 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.
Repertoire 'bief/bief_v6p1/sources_Error or undefined GENERAL bloc in
What?
You get an error message like Repertoire 'bief/bief_v6p1/sources_Error or undefined GENERAL bloc in…
Why?
You didn’t run the cfgmak command or it fails before launching makeall90.
Solution :
Try to run cfgmak for updating file systel.ini. If cfgmak command is not found, please check your PATH. If cfgmak fails, please check your settings in file systel.ini.
Repertoire 'bief/bief_v6p1/sources_Error or undefined GENERAL bloc in
What?
You get an error message like Repertoire 'bief/bief_v6p1/sources_Error or undefined GENERAL bloc in…
Why?
You didn’t run the cfgmak command or it fails before launching makeall90.
Solution :
Try to run cfgmak for updating file systel.ini. If cfgmak command is not found, please check your PATH. If cfgmak fails, please check your settings in file systel.ini.
cfgmak: line 14: Error: command not found
What?
Message error is “cfgmak: line 14: Error: command not found ”
Why?
In ASCII files, carriage returns from Windows on Linux and Unix may cause problems. This was reported when installing on Linux Ubuntu.
Solution:
In this case, use the command dos2unix. Or a similar command as tofrodos on Debian:
> fromdos systel.ini
libgfortranbegin.a(fmain.o): In function `main'
What?
Message error is:
” /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgfortranbegin.a(fmain.o): In function `main':
(.text+0x26): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
ERREUR A L'EDITION DE LIEN”
Why?
Libraries are not ordered as expected by the GNU linker LD. This often happens when object files are produced by gfortran.
Solution:
In file systel.ini and in the section dedicated to gfortran, please change :
LK_MPI="mpif90 -o -Xlinker --start-group --end-group "
instead of :
LK_MPI="mpif90 -o "
Don’t forget to run cfgmak after any change in systel.ini.
undefined reference to `pre4_mumps
What?
Message error is “undefined reference to `pre4_mumps”
Why?
This happen when trying to link and create executables when systel.ini has not been configured properly. It then happens often when trying to compile sisyphe (first code in the makeall90 script).
Solution:
Check the settings in the systel.ini file, especially LIBSMUMPSSEQ and LIBSMUMPSPAR. Indeed, as makeall90 is trying to compile sisyphe, so PATH, SYSTELCFG and “PERLPATH” have certainly correctly been configured. It’s likely coming from LIBSMUMPSSEQ or LIBSMUMPSPAR.
cannot find -lf2c
What?
Message error is “cannot find –lf2c”
Why?
The error occurs when trying to link before creating executables. It usually happens after compilation of sisyphe if the makeall90 command has been used. This directive -lf2c, which actually links with a system library transforming Fortran into C, is only useful for people who use the MED format.
Solution:
Remove the –lf2c option in the systel.ini file. -lf2c is used in both LK_OPT_NORMAL and LIBS_MPI.
problem with execution of out…_intel_64_10.exe on chau5blp : [Errno 2] No such file or directory.
What?
Message error is “problem with execution of out3565_intel_64_10.Exe on chau5blp : [Errno 2] No suche file or directory”
Why?
The error occurs when the current directory is not in the user PATH.
Solution:
Export the ‘.’ Directory in your PATH.
export PATH=’.’:$PATH
cannot connect to local mpd
What?
Message error is “cannot connect to local mpd: possible causes … no mpd is running on this host … an mpd is running…”
Why?
The key to run an MPICH2 application is the mpd daemon. It has to be launch before running any TELEMAC cases
Solution:
Follow these instructions:
cd $HOME
touch .mpd.conf
chmod 600 .mpd.conf
and then use an editor to insert into the file a line like
MPD_SECRETWORD=
'.' is not recognized as an internal or external command
What?
Message error is:
“ '.' is not recognized as an internal or external command operable program or batch file.
## Error : System command failed for ./delete… “
Why?
This problem may happen when some of the sources comes from a linux version.
Solution:
To solve this problem, edit the runtel.pl file and search the following line:
$command=join "","./", "delete_",$PARA,$WORKING,$fileToDelete
And cancel " ./ "
fmpich2.dll not found
What?
Message error is “fmpich2.dll … not found”
Why?
MPICH2 library is not found but mandatory for parallel computing. However, the parallel option is only available on Windows when TELEMAC system is configured with the Intel Visual Fortran compiler.
Solution:
Install the MPICH2 library. See the link on TELEMAC website.
p_dmax.f - undefined reference to `mpi_allreduce
What?
Message error is :
“… parallelv6p0.a(p_dmax.o): In function `p_dmax_':
p_dmax.f:(.text+0x37): undefined reference to `mpi_allreduce_'
This error message is printed for every function inside parallelv6p0.a
Why?
This happens usually when a fortran compiler instead of the MPI's "wrapper" compiler (mpif90, mpiifort…) is used in FC_MPI in the systel.ini file. It is also not sufficient to define LIBS_MPI with –lmpich or –lmpi.
Solution :
It is strongly recommend to use MPI's "wrapper" compiler to in FC_MPI.
Depending on your MPI library, you may try :
FC_MPI=mpif90 (or mpiifort sometimes)
You should also be careful to the LIBS_MPI variable in systel.ini file.
Hint with OPENMPI (http://www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers)
> mpif90 –showme:link add results in LIBS_MPI
Hint with MPICH2
> mpif90 –show add linking options in LIBS_MPI
FATAL: Module inaccessible.
What?
You get a message error like :
FATAL: Module inaccessible.
BEGIN failed--compinlation aborted at c:\TELEMAC\V6P0\bin/runtel.pl line 273.
Why?
This problem may come from :
You tried to install Telemac before installing perl
An incorrect use of forward-slashes and back-slashes c:\TELEMAC\V6P0\bin/runtel.pl
Solution:
Check if Perl is properly installed on your machine and available in your PATH.
Check:
> perl –v print your perl version, subversion
In the systel.ini file, check PERLPATH and PERL5LIB.
In case of incorrect use of forward-slashes and back-slashes, check PROJECT in your systel.ini file.
Don’t forget to run cfgmak after any change in systel.ini.
forrl: severe : file not found, unit 2, file …\telemac2D\tel2d_v6p)\winT2DDICO
What?
You get an error message like
forrl: severe : file not found, unit 2, file C:\TELEMAC\V6P0\telemac2D\tel2d_v6p)\winT2DDICO
Why?
You're trying to run Telemac by direct clicking on the telemac2d.exe.
Solution :
Please refer to the installation note.
MUMPS solver
MUMPS solver/library is not mandatory. This is optional only for ARTEMIS in V6P0 but will be available to others programs in the next release.
How to set environment variables
In general, please refer to http://en.wikipedia.org/wiki/Environment_variable.
Windows only : http://support.microsoft.com/kb/310519.