Skip to content

jedi-bundle compilation fails with GNU spack-stack 2.0.0 on MSU Hercules (undefined reference to SSL_get0_group_name@OPENSSL_3.2.0) #1892

@fcvdb

Description

@fcvdb

Description

We ran into an error trying to build jedi-bundle with GNU spack-stack 2.0.0 on Hercules, The config file with used to load spack-stack 2.0.0 is this hercules_setup_gnu.sh. The error message is:

/usr/bin/ld: /apps/contrib/spack-stack/spack-stack-2.0.0/envs/ue-gcc-12.2.0/install/gcc/12.2.0/curl-8.11.1-n457wta/lib/libcurl.so.4: undefined reference to `SSL_get0_group_name@OPENSSL_3.2.0'
collect2: error: ld returned 1 exit status

It looks like libcurl was built with openSSL 3.2.0 but the library in the spack-stack 2.0.0 environment is 3.4.1 (/apps/contrib/spack-stack/spack-stack-2.0.0/envs/ue-gcc-12.2.0/install/gcc/12.2.0/openssl-3.4.1-3qirgtf)

To Reproduce

  1. Load the modules defined in hercules_setup_gnu.sh, and copied here:
module purge
module use /work/noaa/epic/role-epic/spack-stack/hercules/modulefiles
module load ecflow/5.8.4
module load git-lfs/3.1.2

module use /apps/contrib/spack-stack/spack-stack-2.0.0/envs/ue-gcc-12.2.0/modules/Core
module load stack-gcc/12.2.0
module load stack-openmpi/4.1.4

module load singularity

export SLURM_MPI_TYPE=pmi2
  1. Load JEDI modules:
module load jedi-fv3-env
module load jedi-mpas-env
module load ewok-env
module load soca-env
  1. Clone jedi-bundle:

git clone https://github.com/JCSDA/jedi-bundle.git jedi-bundle

  1. Create a build directory and go to it:
mkdir build
cd build
  1. Configure with:

cmake -DBUILD_IODA_CONVERTERS=ON <path_to_jedi-bundle>

  1. Compile with:

make -j 1 2>&1 |tee make.out

Expected behavior

Compilation will successfully completes

System, compiler, code, ...

MSU Hercules

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething is not working

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions