Changeset 4918


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.

Location:
LMDZ6/trunk
Files:
66 added
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/bld.cfg.ecrad

    r4853 r4918  
    4242src::ecradhook %RAD/drhook
    4343src::ecradutil %RAD/utilities
     44
     45src::netcdf95            %ROOT_PATH/tools/netcdf95
     46src::netcdf95::Datasets   %ROOT_PATH/tools/netcdf95/Datasets
     47src::netcdf95::Groups     %ROOT_PATH/tools/netcdf95/Groups
     48src::netcdf95::Variables   %ROOT_PATH/tools/netcdf95/Variables
     49src::netcdf95::Attributes %ROOT_PATH/tools/netcdf95/Attributes
     50
    4451
    4552bld::lib            lmdz
     
    104111bld::excl_dep        use::ifile_attr
    105112bld::excl_dep        use::ixml_tree
    106 bld::excl_dep        use::netcdf95
     113#bld::excl_dep        use::netcdf95
    107114# The following for INCA used with CPL
    108115bld::excl_dep        use::incaoasis
  • LMDZ6/trunk/bld.cfg.rrtm

    r4773 r4918  
    3535src::ext_src %EXT_SRC
    3636src::Ocean_skin %SRC_PATH/%PHYS/Ocean_skin
     37
     38src::netcdf95            %ROOT_PATH/tools/netcdf95
     39src::netcdf95::Datasets   %ROOT_PATH/tools/netcdf95/Datasets
     40src::netcdf95::Groups     %ROOT_PATH/tools/netcdf95/Groups
     41src::netcdf95::Variables   %ROOT_PATH/tools/netcdf95/Variables
     42src::netcdf95::Attributes %ROOT_PATH/tools/netcdf95/Attributes
     43
    3744
    3845bld::lib            lmdz
     
    97104bld::excl_dep        use::ifile_attr
    98105bld::excl_dep        use::ixml_tree
    99 bld::excl_dep        use::netcdf95
     106#bld::excl_dep        use::netcdf95
    100107# The following for INCA used with CPL
    101108bld::excl_dep        use::incaoasis
  • 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.