Opened 4 years ago

Closed 4 years ago

#1675 closed help (fixed)

vn8.6 activating drhook fails to link xlsqn

Reported by: markr Owned by: ros
Component: UM Model Keywords: linking drhook
Cc: Platform: MONSooN
UM Version: 8.6


I have used drhook on XCM with vn10.2 and wonder if I am too soon to use it with vn8.6. Activating drhook on a previously successful vn8.6 job results in failure to link.
The libraries look suspiciously like IBM libs. I tried to find the link line for the equivalent vn10.2 job but I am not quite used to that dir structure yet.

ftn -o xlsqn.exe /projects/ukca-leeds/mricha/xlsqn/umatmos/obj/um_main.o /projects/ukca-leeds/mricha/xlsqn/umatmos/obj/blkdata.o -L/projects/ukca-leeds/mricha/xlsqn/umatmos/lib -L/projects/ukca-leeds/mricha/xlsqn/baserepos/JULES/lib -L/projects/ukca-leeds/mricha/xlsqn/baserepos/JULES/lib -L/projects/ukca-leeds/mricha/xlsqn/baserepos/UMATMOS/lib -l__fcm__xlsqn -L/projects/um1/drhook/cce-8.3.4/vn1.1/lib -L/usr/pmapi/lib -lhpm_r -lpmapi -ldrhook -lessl -L/projects/um1/gcom/gcom4.6/meto_cray_xc40_mpp/build/lib -lgcom  -LNetCDFmodule -lnetcdf  -L/projects/um1/grib_api/cce-8.3.4/1.13.0/lib -lgrib_api_f90 -lgrib_api -h omp

and the messages

/opt/cray/cce/8.3.4/cray-binutils/x86_64-unknown-linux-gnu/bin/ld: cannot find -lhpm_r
/opt/cray/cce/8.3.4/cray-binutils/x86_64-unknown-linux-gnu/bin/ld: cannot find -lpmapi
/opt/cray/cce/8.3.4/cray-binutils/x86_64-unknown-linux-gnu/bin/ld: cannot find -lessl
/opt/cray/hdf5/1.8.13/CRAY/83/lib/libhdf5.a(H5PL.o): In function `H5PL__open$$CFE_id_56395c9c_01603595':
/home/users/ulib/hdf5/1.8.13/rpm/BUILD/cray-hdf5-1.8.13-cce1-serial/src/H5PL.c:535: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
fcm_internal load failed (256)
make: *** [xlsqn.exe] Error 1
make -f /projects/ukca-leeds/mricha/xlsqn/umatmos/Makefile -j 5 -s all failed (2) at /work/home/fcm/fcm-2015.05.0/bin/../lib/FCM1/ line 611
Build failed on Wed Sep 30 08:41:36 2015.

Change History (5)

comment:1 Changed 4 years ago by ros

  • Owner changed from um_support to ros
  • Status changed from new to accepted

Hi Mark,

We have not done any testing with drhook on the XCM. I have just modified the config files for vn8.6.

In UMUI window:

FCM Configuration → FCM Extract & Output levels in container file name replace @vn8.6_cfg to be @20127

Can you please try this out and let me know if this works? I will then update the revision keyword for everyone to pick up.


Last edited 4 years ago by ros (previous) (diff)

comment:2 Changed 4 years ago by markr

Build in progress. Should be quick result.
I had built this case again without drhook to make sure it does still run as previous run was before IBM switch off (you never can tell).

comment:3 Changed 4 years ago by markr

Well, the job built and ran for 9 time steps and looks like it completed correctly.
Unfortunately there were no drhook files produced inthe $DATADIR/xlsqn directory.
The link looked okay in the build log.


-rw-r--r-- 1 mricha users 1248633 Sep 30 11:28 xlsqn000.xlsqn.d15273.t111248.comp.leave
-rw-r--r-- 1 mricha users  185754 Sep 30 11:28 xlsqn000.xlsqn.d15273.t111248.rcf.leave
-rw-r--r-- 1 mricha users 1078542 Sep 30 11:30 xlsqn000.xlsqn.d15273.t111248.leave

comment:4 Changed 4 years ago by markr

Okay now it is working and producing drhook files.
I chose to remove the DATADIR/xlsqn directory and start the job again.
Thanks for the help!

comment:5 Changed 4 years ago by ros

  • Resolution set to fixed
  • Status changed from accepted to closed

Hi Mark,

That's great. Thanks for letting me know. I have now updated the vn8.6_cfg keyword so you can go back to using that rather than @20127 for the container file revision.

I will fix the other UM versions in due course.


Note: See TracTickets for help on using tickets.