Changeset 6886
- Timestamp:
- 06/26/24 17:10:23 (5 months ago)
- Location:
- CONFIG/UNIFORM/v7/IPSLCM7
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v7/IPSLCM7/SOURCES/NEMO/arch-X64_IRENE-AMD.fcm
r6346 r6886 41 41 %CPP cpp 42 42 %FC mpif90 -c -cpp 43 %FCFLAGS -i4 -r8 -O3 -fp-model strict 43 %PROD_FCFLAGS -i4 -r8 -O3 -fp-model strict 44 %DEBUG_FCFLAGS -i4 -r8 -g -O0 -debug all -traceback -fp-model strict -ftrapuv -check all,noarg_temp_created -fpe-all0 -ftz -init=arrays,snan,huge 44 45 %FFLAGS %FCFLAGS 45 46 %LD mpif90 -
CONFIG/UNIFORM/v7/IPSLCM7/SOURCES/NEMO/arch-X64_IRENE.fcm
r6346 r6886 32 32 %OASIS_HOME ${PWD}/../../../oasis3-mct/BLD 33 33 34 %NCDF_INC -I$NETCDFFORTRAN_INCDIR -I$NETCDF_INCDIR 35 %NCDF_LIB -L$NETCDFFORTRAN_LIBDIR -lnetcdff -L$NETCDF_LIBDIR -lnetcdf -L$HDF5_LIBDIR -lhdf5_hl -lhdf5 -lz -lcurl 36 37 %XIOS_INC -I%XIOS_HOME/inc 38 %XIOS_LIB -L%XIOS_HOME/lib -lxios -lstdc++ 39 %OASIS_INC -I%OASIS_HOME/build/lib/mct -I%OASIS_HOME/build/lib/psmile.MPI1 40 %OASIS_LIB -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip 34 %NCDF_INC -I${NETCDFC_INCDIR} -I${NETCDFFORTRAN_INCDIR} 35 %NCDF_LIB -L${NETCDFC_LIBDIR} -lnetcdf -L${NETCDFFORTRAN_LIBDIR} -lnetcdff 36 %XIOS_INC -I%XIOS_HOME/inc 37 %XIOS_LIB -L%XIOS_HOME/lib -lxios 38 %OASIS_INC -I%OASIS_HOME/build/lib/psmile.MPI1 39 %OASIS_LIB -L%OASIS_HOME/lib -lpsmile.MPI1 -lscrip -lmct -lmpeu 41 40 42 41 %CPP cpp 43 42 %FC mpif90 -c -cpp 44 %FCFLAGS -i4 -r8 -O3 -fp-model strict -xCORE-AVX512 -fno-alias 43 %PROD_FCFLAGS -i4 -r8 -O3 -fp-model strict -xCORE-AVX512 -fno-alias 44 %DEBUG_FCFLAGS -i4 -r8 -g -O0 -debug all -traceback -fp-model strict -ftrapuv -check all,noarg_temp_created -fpe-all0 -ftz -init=arrays,snan,huge 45 45 %FFLAGS %FCFLAGS 46 46 %LD mpif90 47 %LDFLAGS 47 %LDFLAGS -lstdc++ 48 48 %FPPFLAGS -P -traditional 49 49 %AR ar … … 52 52 %USER_INC %XIOS_INC %OASIS_INC %NCDF_INC 53 53 %USER_LIB %XIOS_LIB %OASIS_LIB %NCDF_LIB 54 55 %CC cc56 %CFLAGS -O0 -
CONFIG/UNIFORM/v7/IPSLCM7/SOURCES/NEMO/arch-X64_JEANZAY.fcm
r6346 r6886 41 41 %CPP cpp 42 42 %FC mpiifort -c -cpp 43 %FCFLAGS -i4 -r8 -O3 -fp-model strict -xCORE-AVX512 -fno-alias 43 %PROD_FCFLAGS -i4 -r8 -O3 -fp-model strict -xCORE-AVX512 -fno-alias 44 %DEBUG_FCFLAGS -i4 -r8 -g -O0 -debug all -traceback -fp-model strict -ftrapuv -check all,noarg_temp_created -fpe-all0 -ftz -init=arrays,snan,huge 44 45 %FFLAGS %FCFLAGS 45 46 %LD mpiifort -
CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh
r6856 r6886 454 454 echo >> $outfile ; echo " NOW COMPILE NEMO with ice model SI3 and passive tracer model TOP" >> $outfile 455 455 fi 456 456 457 # Compilation management 458 # Nemo debug ? 459 cp $mysrc_path/NEMO/arch-${fcm_arch}.fcm $mysrc_path/NEMO/arch-nemo.fcm 460 if [ $optmode == debug ] ; then 461 if (! grep -q "^%DEBUG_FCFLAGS" $mysrc_path/NEMO/arch-nemo.fcm); then 462 echo "ERROR: You must defined '%DEBUG_FCFLAGS' in your arch file if you want to compile Nemo in debug mode using '-d' option" 463 exit 1 464 fi 465 # duplicate the lines starting with %DEBUG_XXX and replace, in the duplicated line, %DEBUG_XXX by %XXX 466 sed -i'' -e "/^%DEBUG_/{p;s/^%DEBUG_\([^ ]*\)/%\1/;}" $mysrc_path/NEMO/arch-nemo.fcm 467 else 468 if (! grep -q "^%PROD_FCFLAGS" $mysrc_path/NEMO/arch-nemo.fcm ); then 469 echo "WARNING: '%PROD_FCFLAGS' not defined in your arch file, makenemo will use '%FCFLAGS' instead" 470 fi 471 # duplicate the lines starting with %PROD_XXX and replace, in the duplicated line, %PROD_XXX by %XXX 472 sed -i'' -e "/^%PROD_/{p;s/^%PROD_\([^ ]*\)/%\1/;}" $mysrc_path/NEMO/arch-nemo.fcm 473 fi 474 457 475 echo >> $outfile ; echo cd $nemo_root >> $outfile 458 echo >> $outfile ; echo cp $mysrc_path/NEMO/arch- ${fcm_arch}.fcm arch/CNRS/.>> $outfile459 echo >> $outfile 460 461 cd $nemo_root ; cp $mysrc_path/NEMO/arch-${fcm_arch}.fcm arch/CNRS/.462 476 echo >> $outfile ; echo cp $mysrc_path/NEMO/arch-nemo.fcm arch/CNRS/arch-${fcm_arch}.fcm >> $outfile 477 echo >> $outfile 478 479 cd $nemo_root ; mv $mysrc_path/NEMO/arch-nemo.fcm arch/CNRS/arch-${fcm_arch}.fcm 480 463 481 # creation of config 464 482 echo >> $outfile ; echo cd $nemo_root >> $outfile
Note: See TracChangeset
for help on using the changeset viewer.