arch.fcm 1005 B

123456789101112131415161718192021222324252627
  1. %NEMO_HOME $HOME/models/nemo_4.2.1
  2. %XIOS_HOME $HOME/models/xios_2605_gnu
  3. %ROOTNETCDF $EBROOTNETCDF
  4. %ROOTNETCDFFORTRAN $EBROOTNETCDFMINFORTRAN
  5. %NCDF_INC -I%ROOTNETCDF/include -I%ROOTNETCDFFORTRAN/include
  6. %NCDF_LIB -L%ROOTNETCDF/lib64 -L%ROOTNETCDFFORTRAN/lib -lnetcdf -lnetcdff
  7. %XIOS_INC -I%XIOS_HOME/inc
  8. %XIOS_LIB -L%XIOS_HOME/lib -lxios -lstdc++
  9. %CPP cpp -Dkey_nosignedzero
  10. %FC mpif90
  11. %FCFLAGS -O3 -cpp -fallow-argument-mismatch -fdefault-real-8 -fcray-pointer -ffree-line-length-none
  12. %FFLAGS %FCFLAGS
  13. %LD mpif90
  14. %LDFLAGS
  15. %FPPFLAGS -P -traditional
  16. %AR ar
  17. %ARFLAGS -r
  18. %MK gmake
  19. %USER_INC %XIOS_INC %NCDF_INC
  20. %USER_LIB %XIOS_LIB %NCDF_LIB
  21. %CC mpicc -Wl,"--allow-multiple-definition"
  22. %CFLAGS -O2 -Wl,"--allow-multiple-definition"