Can't compile XIOS, help!

Hei Mink,

Please show your arch file and bashrc

/robinson

1 Like

.fcm

It is a bit difficult to see anything, but could you check that the hdf5 and netcdf libraries you load in your bashrc files are exactly the same as those in your arch file.

1 Like

try to replace -std=c++11 by -std=gnu++98 in your .fcm file

1 Like

in bashrc
export HDF5_INC_DIR=/public/home/lvmingkun/lv/pkg/netcdf_install/hdf/include/
export HDF5_LIB_DIR=/public/home/lvmingkun/lv/pkg/netcdf_install/hdf/lib/

export NETCDF_INC_DIR=/public/home/lvmingkun/lv/pkg/netcdf-c-4.9.2/include
export NETCDF_LIB_DIR=/public/home/lvmingkun/lv/pkg/netcdf_install/netcdf-f/lib

export BOOST_INC_DIR=/public/home/lvmingkun/lv/nemo/boost_1_55_0/
export BOOST_LIB_DIR=/public/home/lvmingkun/lv/nemo/boost_1_55_0/stage/lib

in arch-GCC_LINUX.env is the same

thank you. the error is pass.but there is the next… :joy:

Did you use --full when calling make_xios to make sure you recompile everything?

Or you could try -std=gnu++11

I have try ./make_xios --arch GCC_LINUX --full and -std=gnu++11
but it’s still error

1 Like

Is there some solution?

1 Like