Changeset 4211
- Timestamp:
- Jul 20, 2022, 5:54:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz_new.sh
r4210 r4211 74 74 75 75 getlmdzor=1 76 netcdf=1 # 1 for automatic installation 77 # 0 for no installation 78 # /.../../netcdf-4.0.1 if wanting to link with an already 79 # compiled netcdf library (implies to check option compatibility) 76 netcdf=0 # 1: for automatic installation; 77 # or 0: do not install NetCDF and look for it in standard locations; 78 # or absolute path: look for NetCDF there 80 79 check_linux=1 81 80 ioipsl=1 … … 163 162 -name LOCAL_MODEL_NAME : default = LMDZversion.release 164 163 165 -netcdf PATH : full path to an existing installed NetCDF library 166 (without -netcdf: also download and install the NetCDF library) 164 -netcdf 0, 1 or PATH 165 0: do not download NetCDF, look for it in standard locations 166 1: download and compile NetCDF 167 PATH: full path to an existing installed NetCDF library 167 168 168 169 -xios also download and compile the XIOS library … … 305 306 306 307 cicla|camel) compiler="gfortran" ; 308 module load netcdf4/4.3.3.1-gfortran; 309 netcdf=/opt/netcdf43/gfortran 310 307 311 if [ $parallel != none ] ; then 308 312 module load openmpi/1.6.5-gfortran ; … … 609 613 610 614 # ncdfdir contains the directory where netcdf is installed 611 if [ $netcdf = 0 -o $netcdf =1 ] ; then615 if [ $netcdf = 1 ] ; then 612 616 if [ "$with_xios" = "y" ] ; then 613 617 ncdfdir=$MODEL/netcdf4_hdf5 614 618 else 615 ncdfdir=$MODEL/netcdf -4.0.1619 ncdfdir=$MODEL/netcdf4_hdf5_seq 616 620 fi 621 elif [ $netcdf = 0 ] 622 then 623 ncdfdir=/usr 617 624 else 618 625 ncdfdir=$netcdf
Note: See TracChangeset
for help on using the changeset viewer.