Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to compile and install CDFTOOLS to deal with ORCA025 data #48

Open
malibin1983 opened this issue Jan 4, 2022 · 1 comment
Open

Comments

@malibin1983
Copy link

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

@molines
Copy link
Member

molines commented Jan 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants