Welcome,
Guest
|
TOPIC: compiling telemac v60 linux problem
compiling telemac v60 linux problem 14 years 4 months ago #315
|
I'm trying to compile telemac v60 in linux ubuntu 10.04, gfortran (gcc 4.4), openmpi and perl 5.10
I updated the directory config to configlinux I updated the config variables I modified the systel.ini file using the block gFortran [GENERAL] # # Parameterising version + language # # for every program in the system: # # - LNGXXX (language 1: French 2: English) # - VERSXXX (version) # #---TELEMAC2D LNGTEL=1 VERSTEL=v6p0 #---TELEMAC3D LNGTEL3D=1 VERSTEL3D=v6p0 #---STBTEL LNGSTB=1 VERSSTB=v6p0 #---POSTEL3D LNGPOSTE=1 VERSPOSTE=v6p0 #---ARTEMIS LNGARTE=1 VERSARTE=v6p0 #---SISYPHE LNGSISY=1 VERSSISY=v6p0 #---TOMAWAC LNGTOMA=1 VERSTOMA=v6p0 #---ESTEL2D LNGESTEL2=2 VERSESTEL2=v6p0 #---ESTEL3D LNGESTEL3=2 VERSESTEL3=v6p0 #---SPARTACUS2D LNGSPA=1 VERSSPA=v6p0 # # Directory: where the Telemac system is installed # PROJECT=/home/vrosaless/TELEMAC # # Platform: namely a combination machine+compiler # HOSTTYPE=gFortran # # Perl : paths to interpreter (bin) and modules (lib) # [PERL] PERLPATH=/usr/lib/perl/ PERL5LIB=/usr/lib/perl/ # #-VERSION-6.0 Configs # # The compiling command will be: # # Compil : $FC $FC_OPT_OTHERS [$FC_OPT_COMPIL,$FC_OPT_DEBUG,$FC_OPT_PROFILE] # # The link command will be: # # Link : $LK $LK_OPT_OTHERS [$LK_OPT_DEBUG] [$LK_OPT_PROFILE] $LK_OPT_OUTNAME # # Note: the standard for binary files is BIG_ENDIAN on all machines # this is the standard of all examples provided. # # # Now a series of configurations of different platforms. Change HOSTTYPE above # to switch on an already existing one, or write a new section for a new # platform. Sections start with [name_of_HOSTTYPE] and end with #_END # # # # Linux debian + MPICH + INTEL Release 10 (64-Bits) # # [intel_64_10] DIRLIB=intel_64_10 # Intel compiler options FC_NAM="ifort" FC_OPT_OBJEXT="o" FC_OPT_COMPIL=" -c -O3 -convert big_endian " FC_OPT_DEBUG=" -c " FC_OPT_PROFILE=" -O3 -pgf90 -w=obs -v -pg -c " FC_OPT_INCLUDE="-I " # LK_NAM="ifort" LK_OPT_NORMAL=" -lf2c -lz -lstdc++ -v " LK_OPT_OUTNAME=" -o " LK_OPT_DEBUG=" -g90 " LK_OPT_PROFILE=" -pg " LK_OPT_OTHERS=" " LK_LIB_SPECIAL=" " #IF MED AND HDF5 #LK_LIB_SPECIAL=" <TELEMAC_HOME>/MED/<DIRLIB>/lib/libmed.a <TELEMAC_HOME>/HDF5/<DIRLIB>/lib/libhdf5.a " # LIB_NAM=ar LIB_OPT_LIBEXT="a" LIB_OPT_OUTNAME="cru" LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="dbx90 " RUN_PROFILE= # in Telemac distribution FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 " LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> " LIBS_MPI="-L <TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lpthread -lstdc++ -lz -lf2c " RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = <TELEMAC_HOME>/MUMPS_4.9.0/include #LIBMUMPSPAR="<TELEMAC_HOME>/mumpsmpi/mumpsmpi_<VERSARTE>/<HOSTTYPE>/mumpsmpi<VERSARTE>.a -L<TELEMAC_HOME>/MUMPS_4.9.0/lib/ -ldmumps -lmumps_common -lpord -L/home/logiciels/intel/mkl/10.2.1.017/lib/em64t -lmkl_scalapack_lp64 -lmkl_blacs_ilp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lguide -static-intel -L<TELEMAC_HOME>/metis-4.0/lib/ -lbmetis -L<TELEMAC_HOME>/scotch_5.1_esmumps/lib -lesmumps -lscotch -lscotcherr -lm" #LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" # #_END__________________________________________________________________________ # # # Linux debian + MPICH + PGI Release 9 (64-Bits) # # [pgi_64_9] DIRLIB=pgi_64_9 # Options du compilateur intel FC_NAM="pgf90" FC_OPT_OBJEXT="o" FC_OPT_COMPIL=" -c -O3 -byteswapio " FC_OPT_DEBUG=" -c " FC_OPT_PROFILE=" -O3 -pgf90 -w=obs -v -pg -c " FC_OPT_INCLUDE="-I " FC_OPT_OTHERS=" " # LK_NAM="pgf90" LK_OPT_NORMAL=" -lf2c -lz -lstdc++ -v " LK_OPT_OUTNAME=" -o " LK_OPT_DEBUG=" -g90 " LK_OPT_PROFILE=" -pg " LK_OPT_OTHERS=" " LK_LIB_SPECIAL=" " #IF MED AND HDF5 #LK_LIB_SPECIAL=" <TELEMAC_HOME>/MED/<DIRLIB>/lib/libmed.a <TELEMAC_HOME>/HDF5/<DIRLIB>/lib/libhdf5.a " # LIB_NAM=ar LIB_OPT_LIBEXT="a" LIB_OPT_OUTNAME="cru" LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="dbx90 " RUN_PROFILE= # in Telemac distribution FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 " LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> " LIBS_MPI="-L <TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lstdc++ -lz -lf2c " RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = <TELEMAC_HOME>/MUMPS_4.9.0/include #LIBMUMPSPAR="to be filled, example under intel_64_10" #LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" # #_END__________________________________________________________________________ # # # # Linux debian GFORTRAN + MPICH [gFortran] DIRLIB=gFortran # Options du compilateur GNU FC_NAM="gfortran" FC_OPT_OBJEXT="o" FC_OPT_COMPIL=" -c -O3 -fconvert=big-endian -frecord-marker=4" FC_OPT_DEBUG=" -c " FC_OPT_PROFILE=" -O3 -c " FC_OPT_INCLUDE="-I " FC_OPT_OTHERS=" " # LK_NAM="gfortran" LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -lm -lz -lstdc++ " LK_OPT_OUTNAME=" -o " LK_OPT_DEBUG=" " LK_OPT_PROFILE=" -pg " LK_OPT_OTHERS=" " #IF MED AND HDF5 #LK_LIB_SPECIAL=" <TELEMAC_HOME>/MED/<DIRLIB>/lib/libmed.a <TELEMAC_HOME>/HDF5/<DIRLIB>/lib/libhdf5.a " # LIB_NAM=ar LIB_OPT_LIBEXT="a" LIB_OPT_OUTNAME="cru" LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="gdb " RUN_PROFILE= # in Telemac distribution FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 " LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> " LIBS_MPI="-L <TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lpthread -lstdc++ -lz " RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = <TELEMAC_HOME>/MUMPS_4.9.0/include #LIBMUMPSPAR="to be filled, example under intel_64_10" #LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="/home/vrosaless/TELEMAC/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" LIBMUMPSSEQ="/home/vrosaless/TELEMAC/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" # #_END__________________________________________________________________________ # # # HP700_11N ( HP C3700 Unix with NAG F95 compiler) # # [hp700_11n] DIRLIB=hp700_11n # Options du compilateur NAG: FC_NAM="f95" FC_OPT_OBJEXT="o" FC_OPT_COMPIL=" -O4 -Oassumed -f77 -w=obs -Bstatic -v " FC_OPT_DEBUG=" -f77 -w=obs -Bstatic -v -g90 " FC_OPT_PROFILE=" -O4 -Oassumed -f77 -w=obs -Bstatic -v -pg " FC_OPT_INCLUDE="-I" FC_OPT_OTHERS=" -c " # LK_NAM="f95" LK_OPT_NORMAL=" " LK_OPT_DEBUG=" -g90 " LK_OPT_PROFILE=" -pg " LK_OPT_OUTNAME=" -o " LK_OPT_OTHERS= # LIB_NAM=ar LIB_OPT_LIBEXT="a" LIB_OPT_OUTNAME="cru" LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="xdb " RUN_PROFILE= # #---- Reglages pour MPICH # FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 " LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> " LIBS_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/lib/libmpich.a" RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = "<TELEMAC_HOME>/MUMPS_4.9.0/include" #LIBMUMPSPAR="to be filled, example under intel_64_10" #LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" # #_END__________________________________________________________________________ # # # HP700_11 ( HP C3700 with HP f90) # # [hp700_11] DIRLIB=hp700_11 # Options du compilateur : FC_NAM="f90" FC_OPT_OBJEXT="o" FC_OPT_COMPIL=" -O3 +fastallocatable " FC_OPT_DEBUG=" -v -g" FC_OPT_PROFILE=" -O2 -v +gprof " FC_OPT_INCLUDE="-I" FC_OPT_OTHERS=" -c " # LK_NAM="f90" LK_OPT_NORMAL=" " LK_OPT_DEBUG=" -g " LK_OPT_PROFILE=" +gprof " LK_OPT_OUTNAME=" -o " LK_OPT_OTHERS=" -lm " # LIB_NAM=ar LIB_OPT_LIBEXT="a" LIB_OPT_OUTNAME="cru" LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="xdb " RUN_PROFILE= # #---- Reglages pour MPICH sur HP # FC_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 " LK_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpif90 -o <EXE> <OBJS> <LIBS> " LIBS_MPI="-L<TELEMAC_HOME>/mpi/<DIRLIB>/lib -lmpich -lV3 -lnsl -lU77 " RUN_MPI="<TELEMAC_HOME>/mpi/<DIRLIB>/bin/mpirun -machinefile mpirun.txt -np <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = <TELEMAC_HOME>/MUMPS_4.9.0/include #LIBMUMPSPAR="to be filled, example under intel_64_10" #LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.a" # #_END__________________________________________________________________________ # # # Windows + Intel Fortran 9 (and upper) + MPICH2 # [win] DIRLIB=win # FC_NAM="ifort " FC_OPT_OBJEXT="obj" FC_OPT_COMPIL=" /compile_only /optimize:4 /check=overflow /iface:nomixed_str_len_arg /warn:declaration /warn:argument_checking /warn:unused " FC_OPT_COMPIL90=" /compile_only /nofixed /optimize:4 /check=overflow /iface:nomixed_str_len_arg /warn:declaration /warn:argument_checking /warn:unused " FC_OPT_DEBUG=" /c /Od /traceback /debug:full /warn:declarations " FC_OPT_PROFILE=" /c /warn:declarations " FC_OPT_INCLUDE="/include:" FC_OPT_OTHERS=" /nologo /convert:big_endian /extend-source:132 " FC_OPT_OTHERS90=" /nologo /convert:big_endian " # LK_NAM="link" LK_OPT_NORMAL=" " LK_OPT_DEBUG=" /debug " LK_OPT_PROFILE=" /debug /profile " LK_OPT_OUTNAME=" /out:" LK_OPT_OTHERS=" /MACHINE:IX86 /subsystem:console /incremental:no /stack:67108864 /nodefaultlib:libc.lib " LK_LIB_SPECIAL=" " # LIB_NAM="link -lib" LIB_OPT_LIBEXT="lib" LIB_OPT_OUTNAME=" /out:" LIB_OPT_OTHERS= " /nologo" LIB_RANLIB= # RUN_DEBUG="xdb " RUN_PROFILE= # #---- MPI2 # FC_MPI="ifort " LK_MPI="link /debug /MACHINE:IX86 /subsystem:console /incremental:no /stack:67108864 /nodefaultlib:libc.lib /out:<EXE> <OBJS> <LIBS> " LIBS_MPI="<TELEMAC_HOME>\MPICH2\lib\fmpich2.lib" # #- PC multicore RUN_MPI="mpiexec -localonly <N> <EXE>" #- Network of PC #RUN_MPI="mpiexec -file mpirun.txt" #RUN_MPI="mpiexec -logon : -machinefile mpirun.txt -n <N> <EXE>" #- Network of PC with simple conection solution #RUN_MPI="smpd -machinefile mpirun.txt" # # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = /home/denis/MUMPS_4.9.0/include #LIBMUMPSPAR="/home/telemac/mumpsmpi/mumpsmpi_<VERSARTE>/<HOSTTYPE>/mumpsmpi<VERSARTE>.a -L/home/denis/MUMPS_4.9.0/lib/ -ldmumps -lmumps_common -lpord -L/home/logiciels/intel/mkl/10.2.1.017/lib/em64t -lmkl_scalapack_lp64 -lmkl_blacs_ilp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lguide -static-intel /home/logiciels/metis-4.0/lib/libmetis.a -L/home/denis/scotch_5.1_esmumps/lib -lesmumps -lscotch -lscotcherr -lm" #LIBMUMPSSEQ="<TELEMAC_HOME>\mumpsvoid\mumpsvoid_<VERSARTE>\<HOSTTYPE>\mumpsvoid<VERSARTE>.lib" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.LIB LIBRARY # # SHOULD BE <PROJECT>\mumpsvoid\mumpsvoid_<VERSARTE>\<HOSTTYPE>\mumpsvoid<VERSARTE>.lib # LIBMUMPSPAR="<TELEMAC_HOME>\mumpsvoid\mumpsvoid_v6p0\<DIRLIB>\mumpsvoidv6p0.lib" LIBMUMPSSEQ="<TELEMAC_HOME>\mumpsvoid\mumpsvoid_v6p0\<DIRLIB>\mumpsvoidv6p0.lib" # # Windows + G95 # # # PARALELISM NOT TESTED YET !!!!!!! [g95] DIRLIB=g95 # Options du compilateur GNU FC_NAM="g95" FC_OPT_OBJEXT="o " FC_OPT_COMPIL=" -c -O0 -fendian=big " FC_OPT_DEBUG=" -c " FC_OPT_PROFILE=" -O2 -c " FC_OPT_INCLUDE="-I " FC_OPT_OTHERS=" " # LK_NAM="g95" #LK_OPT_NORMAL=" " LK_OPT_NORMAL=" -fendian=big -v -lm " LK_OPT_OUTNAME=" -o " LK_OPT_DEBUG=" " LK_OPT_PROFILE=" -pg " LK_OPT_OTHERS=" " #IF MED AND HDF5 #LK_LIB_SPECIAL=" <TELEMAC_HOME>/MED/<DIRLIB>/lib/libmed.a <TELEMAC_HOME>/HDF5/<DIRLIB>/lib/libhdf5.a " LK_LIB_SPECIAL=" " # LIB_NAM=ar LIB_OPT_LIBEXT="lib " LIB_OPT_OUTNAME="cru " LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="gdb " RUN_PROFILE= # in Telemac distribution MPI NOT TESTED WITH G95 FC_MPI="g95 " LK_MPI="G95 -fendian=big -v -lm " LIBS_MPI="<TELEMAC_HOME>\mpi\<DIRLIB>\lib\mpich.lib" RUN_MPI="mpirun -localonly <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = /home/denis/MUMPS_4.9.0/include #LIBMUMPSPAR="/home/telemac/mumpsmpi/mumpsmpi_<VERSARTE>/<HOSTTYPE>/mumpsmpi<VERSARTE>.a -L/home/denis/MUMPS_4.9.0/lib/ -ldmumps -lmumps_common -lpord -L/home/logiciels/intel/mkl/10.2.1.017/lib/em64t -lmkl_scalapack_lp64 -lmkl_blacs_ilp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lguide -static-intel /home/logiciels/metis-4.0/lib/libmetis.a -L/home/denis/scotch_5.1_esmumps/lib -lesmumps -lscotch -lscotcherr -lm" #LIBMUMPSSEQ="/home/telemac/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.lib" LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.lib" # #_END__________________________________________________________________________ # # # Windows + GFORTRAN # # # PARALELISM NOT TESTED YET!!!!!!! # [gfortran] DIRLIB=gfortran # Options of GNU compiler FC_NAM="gfortran" FC_OPT_OBJEXT="o" FC_OPT_COMPIL=" -c -O2 -fconvert=big-endian -frecord-marker=4" FC_OPT_DEBUG=" -c " FC_OPT_PROFILE=" -O1 -c " FC_OPT_INCLUDE="-I " FC_OPT_OTHERS=" " # LK_NAM="gfortran" #LK_OPT_NORMAL=" " #LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -L/home/telemac/MED -lmed -lhdf5 -lm -lz -lstdc++ " LK_OPT_NORMAL=" -fconvert=big-endian -frecord-marker=4 -v -lm " LK_OPT_OUTNAME=" -o " LK_OPT_DEBUG=" " LK_OPT_PROFILE=" -pg " LK_OPT_OTHERS=" " #IF MED AND HDF5 #LK_LIB_SPECIAL=" <TELEMAC_HOME>/MED/<DIRLIB>/lib/libmed.a <TELEMAC_HOME>/HDF5/<DIRLIB>/lib/libhdf5.a " # LIB_NAM=ar LIB_OPT_LIBEXT="lib " LIB_OPT_OUTNAME=" cru " LIB_OPT_OTHERS= LIB_RANLIB="ranlib" # RUN_DEBUG="gdb " RUN_PROFILE= # in Telemac distribution MPI NOT TESTED WITH GFORTRAN FC_MPI="g95 " LK_MPI="G95 -fendian=big -v -lm " LIBS_MPI="<TELEMAC_HOME>\mpi\<DIRLIB>\lib\mpich.lib" RUN_MPI="mpirun -localonly <N> <EXE>" # # # # IF YOU WANT TO USE ARTEMIS// PLEASE UNCOMMENT INCDIRMUMPS AND LIBSMUMPSPAR # # 1 FILL BELOW THE LOCATION OF YOUR MUMPS INCLUDE DIRECTORY (INCDIRMUMPS =...) #INCDIRMUMPS = /home/denis/MUMPS_4.9.0/include #LIBMUMPSPAR="/home/telemac/mumpsmpi/mumpsmpi_<VERSARTE>/<HOSTTYPE>/mumpsmpi<VERSARTE>.a -L/home/denis/MUMPS_4.9.0/lib/ -ldmumps -lmumps_common -lpord -L/home/logiciels/intel/mkl/10.2.1.017/lib/em64t -lmkl_scalapack_lp64 -lmkl_blacs_ilp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lguide -static-intel /home/logiciels/metis-4.0/lib/libmetis.a -L/home/denis/scotch_5.1_esmumps/lib -lesmumps -lscotch -lscotcherr -lm" #LIBMUMPSSEQ="/home/telemac/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a" # # # # IF YOU DO NOT WANT USE ARTEMIS// MUMPS LIBRARY IS NOT NECESSARILY # # SO UNCOMMENT THE FOLLOWING STATEMENT AND WRITE THE LOCATION OF MUMPSVOID_<VERSARTE>.A LIBRARY # # SHOULD BE <PROJECT>/mumpsvoid/mumpsvoid_<VERSARTE>/<HOSTTYPE>/mumpsvoid<VERSARTE>.a # LIBMUMPSPAR="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.lib" LIBMUMPSSEQ="<TELEMAC_HOME>/mumpsvoid/mumpsvoid_v6p0/<DIRLIB>/mumpsvoidv6p0.lib" # #_END__________________________________________________________________________ I run cfgmak using: vrosaless@ubuntu:~/TELEMAC/bin$ perl -x -S cfgmak.pl bloc in /home/vrosaless/TELEMAC/configlinux/systel.ini Then I run makeall90 vrosaless@ubuntu:~/TELEMAC/bin$ makeall90 Ready for making System TELEMAC90 Automatic mode. bloc in /home/vrosaless/TELEMAC/configlinux/systel.inied gFortran ' inexistant Repertoire 'damocles/damo_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.inindefined gFortran ' inexistant Repertoire 'mumpsvoid/mumpsvoid_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniefined gFortran ' inexistant Repertoire 'paravoid/paravoid_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniFortran ' inexistant Repertoire 'bief/bief_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniined gFortran ' inexistant Repertoire 'special/special_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniined gFortran ' inexistant Repertoire 'sisyphe/sisyphe_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniined gFortran ' inexistant Repertoire 'telemac2d/tel2d_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniined gFortran ' inexistant Repertoire 'telemac3d/tel3d_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.inid gFortran ' inexistant Repertoire 'artemis/arte_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniined gFortran ' inexistant Repertoire 'estel2d/estel2d_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniined gFortran ' inexistant Repertoire 'estel3d/estel3d_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.iniefined gFortran ' inexistant Repertoire 'postel3d/postel3d_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.inied gFortran ' inexistant Repertoire 'stbtel/stbtel_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.inid gFortran ' inexistant Repertoire 'tomawac/toma_v6p0/sources' inexistant ! (Ignore) bloc in /home/vrosaless/TELEMAC/configlinux/systel.inior undefined gFortran ' inexistant Repertoire 'spartacus2d/spartacus2d_v6p0/sources' inexistant ! (Ignore) End of make I don't understand the error. do I need to create a dirlib in each directory by hand or is it a problem with gfortran or something is missing in the systel.ini Any idea about this? Hasta pronto Victor |
The administrator has disabled public write access.
|
Re:compiling telemac v60 linux problem 14 years 3 months ago #380
|
Hi Victor,
try changing HOSTTYPE=gFortran to HOSTTYPE=gfortran the block name is case-sensitive jeremie |
The administrator has disabled public write access.
|
Re:compiling telemac v60 linux problem 14 years 3 months ago #383
|
It's solved now!
The problem was actually the perl directions [PERL] PERLPATH=/usr/lib/perl/ PERL5LIB=/usr/lib/perl/ must be [PERL] PERLPATH=/usr/bin/ PERL5LIB=/usr/lib/ The block gFortan is ok for linux system "Linux debian GFORTRAN + MPICH". gfortran is "Windows + GFORTRAN " according to systel.ini block description. Buenas noches Victor |
The administrator has disabled public write access.
|
Re:compiling telemac v60 linux problem 14 years 3 months ago #381
|
Then once you have gfortran instead of gFortran it is normal that directories like sources_gfortran do not exist, this is not a mistake. It just means that the gfortran compiler does not need any specific sources and the directory sources will be used.
Then check that you correctly run the command cfgmak in the directory containing your systel.ini file. You just have to run : cfgmak, not : ~/TELEMAC/bin$ perl -x -S cfgmak.pl JMH |
The administrator has disabled public write access.
|
Moderators: borisb