Changes between Version 26 and Version 27 of Documentation/UserGuide/CompileMethods
- Timestamp:
- 2020-02-28T11:14:56+01:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/UserGuide/CompileMethods
v26 v27 45 45 }}} 46 46 47 Example 1: compile the ORCHIDEE offline model47 Example 1: Compile the ORCHIDEE offline model 48 48 {{{ 49 49 cd modipsl/config/ORCHIDEE_OL … … 72 72 makeorchidee_fcm is launched by the main script or the main makefile in ''config'' directory but it can also be launched manually from ''modeles'' directory. In the later case, '''IOIPSL and XIOS must have been compiled previously''', this is not recommended. 73 73 74 Compile options for different target machines or compilers are defined in the directory ''arch/''. For each target machine two files must exist: ''archname.fcm'' and ''archname.path''. Use ''./makeorchidee_fcm -h'' to get information about available arguments. See here the main arguments 74 Compile options for different target machines or compilers are defined in the directory ''arch/''. For each target machine two files must exist: ''archname.fcm'' and ''archname.path''. Use ''./makeorchidee_fcm -h'' to get information about available arguments. See here the main arguments:[[BR]] 75 75 {{{ 76 76 ./makeorchidee_fcm [Options] … … 111 111 112 112 113 Using fcm, the dependencies between the modules are not predefined. fcm will determine the correct order to compile. makeorchidee_fcm do not compile IOIPSL. This must be done in advance. [[BR]]114 Example 1 : compile at curie(TGCC) for MPI parallel run mode113 Using fcm, the dependencies between the modules are not predefined. fcm will determine the correct order to compile. makeorchidee_fcm does not compile IOIPSL. This must be done in advance. [[BR]] 114 Example 1: Compile at curie(TGCC) for MPI parallel run mode 115 115 {{{ 116 116 ./makeorchidee_fcm -parallel mpi -arch X64_CURIE -driver … … 118 118 119 119 120 Example 2 : compile at ada(IDRIS) for MPI-OpenMP parallel run mode120 Example 2: Compile at ada(IDRIS) for MPI-OpenMP parallel run mode 121 121 {{{ 122 122 ./makeorchidee_fcm -parallel mpi_omp -arch X64_ADA -driver … … 124 124 125 125 126 Example 3 : compile at obelix(LSCE)126 Example 3: Compile at obelix (LSCE) 127 127 {{{ 128 128 ./makeorchidee_fcm -arch ifort_LSCE -driver 129 129 }}} 130 130 131 Example 4 : compile using gfortran compiler for sequential run mode132 First make sure that the files arch/gfortran.fcm and arch/gfortran.pathare suitable for133 your environ ement especially the path to netcdf library.131 Example 4: Compile using gfortran compiler for sequential run mode 132 First make sure that the files ''arch/gfortran.fcm'' and ''arch/gfortran.path'' are suitable for 133 your environment especially the path to netcdf library. 134 134 {{{ 135 135 ./makeorchidee_fcm -parallel seq -arch gfortran -driver … … 137 137 138 138 139 Example 5 : clean files created during previous compilation139 Example 5: Clean files created during previous compilation 140 140 {{{ 141 141 ./makeorchidee_fcm -clean