- Timestamp:
- Sep 7, 2022, 7:43:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r4237 r4238 663 663 fi 664 664 665 cat >test_netcdf90.f90 <<EOF 666 use netcdf, only: nf90_inq_libvers 667 print *, "NetCDF library version: ", nf90_inq_libvers() 668 end 669 EOF 670 671 $compiler -I$ncdfdir/include test_netcdf90.f90 -L$ncdfdir/lib -l netcdff \ 672 -lnetcdf && ./a.out 673 674 if (($? == 0)) 675 then 676 rm test_netcdf90.f90 a.out 677 else 678 echo "Failed test program using NetCDF-Fortran." 679 echo "You can:" 680 echo "- check that you have NetCDF-Fortran installed in your system" 681 echo "- or specify an installation directory with option -netcdf of" \ 682 "install_lmdz.sh" 683 echo "- or download and compile NetCDF-Fortran with option -netcdf 1 of" \ 684 "install_lmdz.sh" 685 exit 1 686 fi 687 665 688 #========================================================================= 666 689 if [[ ! -f $MODEL/modipsl/lib/libioipsl.a ]]
Note: See TracChangeset
for help on using the changeset viewer.