Changeset 6890
- Timestamp:
- 06/28/24 18:24:55 (3 months ago)
- Location:
- CONFIG/UNIFORM/v6/NEMO_v6.5
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/NEMO_v6.5/SOURCES/arch-X64_IRENE-AMD.fcm
r6601 r6890 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/v6/NEMO_v6.5/SOURCES/arch-X64_IRENE.fcm
r6601 r6890 41 41 %CPP cpp -P 42 42 %FC mpif90 -c -cpp 43 %FCFLAGS -i4 -r8 -O3 -fp-model strict 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 mpif90 -
CONFIG/UNIFORM/v6/NEMO_v6.5/SOURCES/arch-X64_JEANZAY.fcm
r6601 r6890 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/v6/NEMO_v6.5/compile_nemo.sh
r6618 r6890 183 183 echo >> $outfile 184 184 185 cd $nemo_root ; cp $mysrc_path/arch-${fcm_arch}.fcm arch/CNRS/. 185 # Compilation management 186 # Nemo debug ? 187 cp $mysrc_path/arch-${fcm_arch}.fcm $mysrc_path/arch-nemo.fcm 188 if [ $optmode == debug ] ; then 189 if (! grep -q "^%DEBUG_FCFLAGS" $mysrc_path/arch-nemo.fcm); then 190 echo "ERROR: You must defined '%DEBUG_FCFLAGS' in your arch file if you want to compile Nemo in debug mode using '-d' option" 191 exit 1 192 fi 193 # duplicate the lines starting with %DEBUG_XXX and replace, in the duplicated line, %DEBUG_XXX by %XXX 194 sed -i'' -e "/^%DEBUG_/{p;s/^%DEBUG_\([^ ]*\)/%\1/;}" $mysrc_path/arch-nemo.fcm 195 else 196 if (! grep -q "^%PROD_FCFLAGS" $mysrc_path/arch-nemo.fcm ); then 197 echo "WARNING: '%PROD_FCFLAGS' not defined in your arch file, makenemo will use '%FCFLAGS' instead" 198 fi 199 # duplicate the lines starting with %PROD_XXX and replace, in the duplicated line, %PROD_XXX by %XXX 200 sed -i'' -e "/^%PROD_/{p;s/^%PROD_\([^ ]*\)/%\1/;}" $mysrc_path/arch-nemo.fcm 201 fi 202 cd $nemo_root ; mv $mysrc_path/arch-nemo.fcm arch/CNRS/arch-${fcm_arch}.fcm 203 186 204 187 205 echo >> $outfile
Note: See TracChangeset
for help on using the changeset viewer.