Changeset 12652
- Timestamp:
- 2020-04-03T10:22:25+02:00 (3 years ago)
- Location:
- utils/build/arch
- Files:
-
- 2 added
- 2 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
utils/build/arch/arch-osx_gfortran.fcm
r10533 r12652 1 1 # generic gfortran compiler options for OSX installed with macport, http://www.macports.org/ 2 2 # 3 # port packages needed: 4 # sudo port install openmpi +gcc48 5 # sudo port install hdf5-18 +cxx +fortran +openmpi (I'am not sure cxx is needed) 6 # sudo port install netcdf +openmpi 7 # sudo port install netcdf-fortran +openmpi 8 # sudo port install netcdf-cxx +openmpi (I'am not sure it is needed) 9 # sudo port install p5-uri 10 # add to your PATH /opt/local/lib/openmpi/bin so that mpif90 is properly known 3 # Prerequisite softwares installed with MacPorts : 4 # gcc8 @8.4.0_0 (active) 5 # hdf5 @1.10.6_0+cxx+gcc8+hl+openmpi+szip (active) 6 # mpi_select @0.0_3 (active) 7 # netcdf @4.7.3_1+cdf5+dap+gcc8+netcdf4+openmpi (active) 8 # netcdf-fortran @4.5.2_0+gcc8+openmpi (active) 9 # openmpi @4.0.1_1 (active) 10 # openmpi-default @4.0.1_1+gcc8 (active) 11 # openmpi-gcc8 @4.0.1_1+fortran+valgrind (active) 11 12 # 12 # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 13 # HDF5_HOME root directory containing lib and include subdirectories for HDF5 14 # XIOS_HOME root directory containing lib for XIOS 15 # OASIS_HOME root directory containing lib for OASIS 16 # 17 # NCDF_INC netcdf4 include file 18 # NCDF_LIB netcdf4 library 19 # XIOS_INC xios include file (taken into accound only if key_iomput is activated) 20 # XIOS_LIB xios library (taken into accound only if key_iomput is activated) 21 # OASIS_INC oasis include file (taken into accound only if key_oasis3 is activated) 22 # OASIS_LIB oasis library (taken into accound only if key_oasis3 is activated) 23 # 24 # FC Fortran compiler command 25 # FCFLAGS Fortran compiler flags 26 # FFLAGS Fortran 77 compiler flags 27 # LD linker 28 # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries 29 # FPPFLAGS pre-processing flags 30 # AR assembler 31 # ARFLAGS assembler flags 32 # MK make 33 # USER_INC complete list of include files 34 # USER_LIB complete list of libraries to pass to the linker 35 # CC C compiler used to compile conv for AGRIF 36 # CFLAGS compiler flags used with CC 13 # $ port select --show mpi 14 # The currently selected version for 'mpi' is 'openmpi-gcc8-fortran'. 37 15 # 38 16 # Note that: … … 52 30 %OASIS_LIB -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip 53 31 54 %CPP cpp -mp-4.8-Dkey_nosignedzero32 %CPP cpp -Dkey_nosignedzero 55 33 %FC mpif90 56 34 %FCFLAGS -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none -
utils/build/arch/arch-osx_gfortran_debug.fcm
r11325 r12652 1 1 # generic gfortran compiler options for OSX installed with macport, http://www.macports.org/ 2 2 # 3 # port packages needed: 4 # sudo port install openmpi +gcc48 5 # sudo port install hdf5-18 +cxx +fortran +openmpi (I'am not sure cxx is needed) 6 # sudo port install netcdf +openmpi 7 # sudo port install netcdf-fortran +openmpi 8 # sudo port install netcdf-cxx +openmpi (I'am not sure it is needed) 9 # sudo port install p5-uri 10 # add to your PATH /opt/local/lib/openmpi/bin so that mpif90 is properly known 3 # Prerequisite softwares installed with MacPorts : 4 # gcc8 @8.4.0_0 (active) 5 # hdf5 @1.10.6_0+cxx+gcc8+hl+openmpi+szip (active) 6 # mpi_select @0.0_3 (active) 7 # netcdf @4.7.3_1+cdf5+dap+gcc8+netcdf4+openmpi (active) 8 # netcdf-fortran @4.5.2_0+gcc8+openmpi (active) 9 # openmpi @4.0.1_1 (active) 10 # openmpi-default @4.0.1_1+gcc8 (active) 11 # openmpi-gcc8 @4.0.1_1+fortran+valgrind (active) 11 12 # 12 # NCDF_HOME root directory containing lib and include subdirectories for netcdf4 13 # HDF5_HOME root directory containing lib and include subdirectories for HDF5 14 # XIOS_HOME root directory containing lib for XIOS 15 # OASIS_HOME root directory containing lib for OASIS 16 # 17 # NCDF_INC netcdf4 include file 18 # NCDF_LIB netcdf4 library 19 # XIOS_INC xios include file (taken into accound only if key_iomput is activated) 20 # XIOS_LIB xios library (taken into accound only if key_iomput is activated) 21 # OASIS_INC oasis include file (taken into accound only if key_oasis3 is activated) 22 # OASIS_LIB oasis library (taken into accound only if key_oasis3 is activated) 23 # 24 # FC Fortran compiler command 25 # FCFLAGS Fortran compiler flags 26 # FFLAGS Fortran 77 compiler flags 27 # LD linker 28 # LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries 29 # FPPFLAGS pre-processing flags 30 # AR assembler 31 # ARFLAGS assembler flags 32 # MK make 33 # USER_INC complete list of include files 34 # USER_LIB complete list of libraries to pass to the linker 35 # CC C compiler used to compile conv for AGRIF 36 # CFLAGS compiler flags used with CC 13 # $ port select --show mpi 14 # The currently selected version for 'mpi' is 'openmpi-gcc8-fortran'. 37 15 # 38 16 # Note that: … … 52 30 %OASIS_LIB -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip 53 31 54 %CPP cpp -mp-4.8-Dkey_nosignedzero32 %CPP cpp -Dkey_nosignedzero 55 33 %FC mpif90 56 %FCFLAGS -fdefault-real-8 -O0 -g -fbacktrace -funroll-all-loops -fcray-pointer -ffree-line-length-none -fcheck= bounds-finit-real=nan34 %FCFLAGS -fdefault-real-8 -O0 -g -fbacktrace -funroll-all-loops -fcray-pointer -ffree-line-length-none -fcheck=all -finit-real=nan 57 35 %FFLAGS %FCFLAGS 58 36 %LD %FC
Note: See TracChangeset
for help on using the changeset viewer.