Ignore:
Timestamp:
Apr 23, 2024, 8:23:53 PM (8 months ago)
Author:
Laurent Fairhead
Message:

Reintegrated NetCDF95 in LMDZ so that it is compiled and made available by the makelmdz_fcm script.
The makelmdz_fcm creates the libnetcdf95 library and copies it in the tools/netcdf/lib directory, copying
the mod files in the tools/netcdf/include library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz_fcm

    r4773 r4918  
    809809fi
    810810
     811# build netcdf95 library necessary for the makelmdz script
     812if [[ $build_status = 0 ]]
     813then
     814  if [[ ! -d tools/netcdf95/include ]]
     815  then
     816      mkdir tools/netcdf95/include tools/netcdf95/lib
     817      cp config/inc/netcdf95.mod config/inc/nf95_*mod tools/netcdf95/include
     818      cp config/obj/netcdf95.o config/obj/nf95_*o config/obj/check_start_count_m.o tools/netcdf95/lib
     819      cd tools/netcdf95/lib; ar rv libnetcdf95.a *.o; ranlib libnetcdf95.a
     820      cd -
     821    fi
     822fi
     823
    811824exit $build_status
Note: See TracChangeset for help on using the changeset viewer.