how to compile and install CDFTOOLS to deal with ORCA025 data
malibin1983 opened this issue · comments
malibin1983 commented
Dear All,
I tried to use the CDFTOOLS to deal with ORCA025 data, but it is wrong with information "forrtl: severe (174): SIGSEGV, segmentation fault occurred". However, there is no problem when I deal with ORCA1 data. I think there are some flags are missed when I compile it. The following is the flags I used during the compilation:
export HDF5_LIB=/data01/malb/local/lib
export NETCDF_LIB=/data01/malb/local/lib
export NETCDF_INC=/data01/malb/local/include
libs
LIBS =
-L$(HDF5_LIB) -L$(NETCDF_LIB) -I$(NETCDF_INC)
-lhdf5 -lnetcdf -lnetcdff -lhdf5_hl -L/lib64 -limf -lm -lz
F90 = mpiifort
OMP=
#OMP=-openmp
NC4 = -D key_netcdf4
#NC4 =
#CMIP6 = -D key_CMIP6
CMIP6 =
GSW=
#GSW=-D key_GSW
GSWLIB=
#GSWLIB=-lgsw
FFLAGS = -O
INSTALL = ../bin
INSTALL_MAN = ../man
Does anybody know how to compile and install the CDFTOOLS to deal with the ORCA025 data?
Thank you very much in advance.
Best,
Libin Ma
Jean-Marc Molines commented
Hello !
I suggest to increase the stack size before running the program :
ulimit -s unlimited
It should fix this segmentation fault error without recompiling.
Best
Jean-Marc MOLINES
…On 04/01/2022 04:18, malibin1983 wrote:
Dear All,
I tried to use the CDFTOOLS to deal with ORCA025 data, but it is
wrong with information "*forrtl: severe (174): SIGSEGV, segmentation
fault occurred*". However, there is no problem when I deal with
ORCA1 data. I think there are some flags are missed when I compile
it. The following is the flags I used during the compilation:
export HDF5_LIB=/data01/malb/local/lib
export NETCDF_LIB=/data01/malb/local/lib
export NETCDF_INC=/data01/malb/local/include
libs
LIBS =
-L$(HDF5_LIB) -L$(NETCDF_LIB) -I$(NETCDF_INC)
-lhdf5 -lnetcdf -lnetcdff -lhdf5_hl -L/lib64 -limf -lm -lz
F90 = mpiifort
OMP=
#OMP=-openmp
NC4 = -D key_netcdf4
#NC4 =
#CMIP6 = -D key_CMIP6
CMIP6 =
GSW=
#GSW=-D key_GSW
GSWLIB=
#GSWLIB=-lgsw
FFLAGS = -O $(NC4) $(CMIP6) -assume byterecl -convert big_endian
-DHAVE_LIBNETCDF64 $(LIBS) $(OMP)
INSTALL = ../bin
INSTALL_MAN = ../man
Does anybody know how to compile and install the CDFTOOLS to deal with
the ORCA025 data?
Thank you very much in advance.
Best,
Libin Ma
—
Reply to this email directly, view it on GitHub
<#48>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFJFLTD76GA3LA7VNNMVJWLUUJRHPANCNFSM5LGPKILQ>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
--
Jean-Marc Molines
Modélisation de l'océan / Ingénieur de recherche IGE (UMR5001 / UR 252)
/CNRS, Grenoble INP, IRD, et UGA/
Institut des Géosciences de l'Environnement
MEOM/IGE
UGA
CS 40 700
38058 Grenoble cedex 9
Tél. :04 38 38 81 63 (Nouveau ! )
Web :http://www.ige-grenoble.fr/
Twitter : @IGE_Grenoble