Hi all,
I'm working on a port of CESM2.2.2 to the ARCHER2 HPC in the UK. I can build a case but the run fails with
/work/n02/n02/jking/cesm/CESM2.2.2/runs/F2000_CESM2.2.2_test00/bld/cesm.exe: error while loading shared libraries: libpiof.so.4: cannot open shared object file: No such file or directory
Sure enough, running ldd on cesm.exe returns:
libpiof.so.4 => not found
libpioc.so.5 => not found
How do I set these? The fix for this issue in this thread was applied in the makefile when PIO was installed, and the relevant environment variables in 'config_machines.xml' file in CIME have all been set to point to the library in what I believe to be the correct format:
<env name="PIO_VERSION_MAJOR">2</env>
<env name="PIO_LIBDIR">/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3/test/gcc/pio2/2.6.2/lib</env>
<env name="PIO_INCDIR">/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3/test/gcc/pio2/2.6.2/include</env>
<env name="PIO_TYPENAME_VALID_VALUES">netcdf, pnetcdf, netcdf4p</env>
<env name="PIO">/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3/test/gcc/pio2/2.6.2</env>
What am I missing here? Is the fact that the PIO library is located in another CESM2 model version to the one I'm trying to use an issue?
Thanks,
James
I'm working on a port of CESM2.2.2 to the ARCHER2 HPC in the UK. I can build a case but the run fails with
/work/n02/n02/jking/cesm/CESM2.2.2/runs/F2000_CESM2.2.2_test00/bld/cesm.exe: error while loading shared libraries: libpiof.so.4: cannot open shared object file: No such file or directory
Sure enough, running ldd on cesm.exe returns:
libpiof.so.4 => not found
libpioc.so.5 => not found
How do I set these? The fix for this issue in this thread was applied in the makefile when PIO was installed, and the relevant environment variables in 'config_machines.xml' file in CIME have all been set to point to the library in what I believe to be the correct format:
<env name="PIO_VERSION_MAJOR">2</env>
<env name="PIO_LIBDIR">/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3/test/gcc/pio2/2.6.2/lib</env>
<env name="PIO_INCDIR">/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3/test/gcc/pio2/2.6.2/include</env>
<env name="PIO_TYPENAME_VALID_VALUES">netcdf, pnetcdf, netcdf4p</env>
<env name="PIO">/mnt/lustre/a2fs-work2/work/n02/n02/jking/cesm/CESM2.3/test/gcc/pio2/2.6.2</env>
What am I missing here? Is the fact that the PIO library is located in another CESM2 model version to the one I'm trying to use an issue?
Thanks,
James