Changeset 4985 for BOL


Ignore:
Timestamp:
Jun 17, 2024, 9:57:58 AM (6 months ago)
Author:
abarral
Message:

correct archs

Location:
BOL/script_install_amaury
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/arch_local/arch-X64_ADASTRA-GNU.path

    r4961 r4985  
    1 NETCDF_INCDIR="-I$(nf-config --includedir)"
     1NETCDF_INCDIR="-I$(nf-config --includedir) -I$(nc-config --includedir)"
    22# Ugly hack for orchidee <=2.0
    33NETCDF_LIBDIR="-L${NETCDF_DIR}/lib" # for some reason on adastra `nf-config --flibs` is empty
  • BOL/script_install_amaury/arch_local/arch-local-gfortran.path

    r4975 r4985  
    1 NETCDF_INCDIR="-I$(nf-config --includedir)"
     1NETCDF_INCDIR="-I$(nf-config --includedir) -I$(nc-config --includedir)"  # nc required for xios
    22# Ugly hack for orchidee <=2.0
    33NETCDF_LIBDIR="-L$(nf-config --flibs | sed -e "s/-L//")"
  • BOL/script_install_amaury/install_lmdz.sh

    r4961 r4985  
    345345        sed -i"" -e "s/ts.second=dt_routing/ts%second=dt_routing/" -e "380,390 s/USE grid/USE grid, temp_disabled => contfrac/" ORCHIDEE/src_sechiba/routing_native_flow.f90
    346346
    347         cd ../../script_install
     347        echo "STOP: INITIALIZED, PLEASE RELAUNCH ONCE"; exit 1
    348348    fi
    349349
     
    465465EOF
    466466
    467     if $ncdf_compiler -I"$ncdfdir"/include test_netcdf90.f90 -L"$ncdfdir"/lib -lnetcdff \
    468               -lnetcdf -Wl,-rpath="$ncdfdir"/lib && ./a.out
    469     then
     467    if $ncdf_compiler -I"$ncdfdir"/include test_netcdf90.f90 -L"$ncdfdir"/lib -lnetcdff -lnetcdf -Wl,-rpath="$ncdfdir"/lib && ./a.out; then
    470468        \rm test_netcdf90.f90 a.out
    471469    else
     
    474472- check that you have NetCDF-Fortran installed in your system
    475473- or specify an installation directory with option -netcdf of install_lmdz.sh
    476 - or download and compile NetCDF-Fortran with option -netcdf 1 of nstall_lmdz.sh
     474- or download and compile NetCDF-Fortran with option -netcdf 1 of install_lmdz.sh
    477475EOF
    478476        exit 1
     
    804802            else
    805803                echo "Error: No command found to run parallel bench"; exit 1
     804            fi
     805            if [[ $(hostname | cut -c -6) = "spirit" ]]; then  # ulimit unlimited segfaults on Spirit
     806                sed -i'' "s/ulimit -s unlimited/ulimit -Ss 8000/" bench.sh
    806807            fi
    807808            # Add rebuild, using reb.sh if it is there
Note: See TracChangeset for help on using the changeset viewer.