Skip to content

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

@malibin1983

Description

@malibin1983

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions