Unclassified - Non-Classifié

 
Dear Support,
 
I have a peculiar problem running some program remotely on the gpsc7.
My account name is “bat002”. The working directory in question is /home/bat002/NERACOOS/waves/work/
The Details leading to the problem are itemized below in (A) to (D):
 
  1. I have a crontab job running on my workstation, that runs twice a day, see the line below:
50 02,14 * * * /home/btoulany/NERACOOS/winds/work/get_proc_NAVGEM_COAMPS_winds_NERACOOS_gpsc71.sh > /dev/null 2>&1
 
  1. The script get_proc_NAVGEM_COAMPS_winds_NERACOOS_gpsc71.sh  does two things:
  1. Gets the needed input fields (wind & ice) to drive the wave model.
  2. It launches another script touch_gpsc71_waves_NERACOOS_with_ice.sh
 
  1. The second script touch_gpsc71_waves_NERACOOS_with_ice.sh does four things:
  1. scp -p $path_d/flag_time bat002@inter-dfo-ubuntu2204.science.gc.ca:/home/bat002/NERACOOS/waves/data/
  2. scp -p $wn_proc/grd?.${ID}.wnd.nc bat002@inter-dfo-ubuntu2204.science.gc.ca:/home/bat002/NERACOOS/winds/processed/
  3. scp -p $ice_proc/grd?_${ID}.ice         bat002@inter-dfo-ubuntu2204.science.gc.ca:/home/bat002/NERACOOS/ices/processed/
  4. launches remotely a new script process_waves_NERACOOS_with_ice.sh on gpsc7
ssh bat002@inter-dfo-ubuntu2204.science.gc.ca /home/bat002/NERACOOS/waves/work/process_waves_NERACOOS_with_ice.sh
 
  1. This new script process_waves_NERACOOS_with_ice.sh running on gpsc7 does few things:
  1. Processes the winds using ww3 executable  “ww3_prnc”        (prepares the input wind fields in NetCDF format ‘nc’)
  2. Processes the ices     using ww3 executable  ww3_prep”        (prepares the input ice fields in text format)
  3. Launches the main ww3 program, using ww3 executable  “ww3_multi
Note1: process_waves_NERACOOS_with_ice.sh runs fine on gpsc7 when I run it interactively (i.e. when I am logged on to gpsc7).
But, when I launch it remotely (as described above in 4)), it would fail running ww3_prnc”  with this error below:
  /home/bat002/ww3-v516/exe_shrd_IC0_IS0_REF0_DIA_v516-gpsc72-r8-22-U22-SP2-2/ww3_prnc:
             symbol lookup error: /home/bat002/ww3-v516/exe_shrd_IC0_IS0_REF0_DIA_v516-gpsc72-r8-22-U22-SP2-2/ww3_prnc:
             undefined symbol: netcdf_mp_nf90_open_   
But, if I login onto gpsc7 and fire the same module  “ww3_prnc”  it works fine.
 
Note2: ‘Remotely’ after failing to run module  “ww3_prnc”  it proceeds on running “ww3_prep” successfully,
               But then “ww3_multi” would fail automatically as the winds are missing.
 
The best explanation I could find is “compile-time error with mis-matched versions…”
I recompiled the codes with the new site profile 20250530/20252026 (everything else in my .profile remained the same).
The executables didn’t change a bit (identical) and the problem remains
 
Do you have any suggestion to help solve this peculiar problem?
 
Many thanks
Bash
 
 
 
 
Bechara Toulany (Bash)
Physical Scientist
Ocean Assessment & Prediction Section
Bedford Institute of Oceanography
1 Challenger Dr., P. O. Box 1006, Stn B460
Dartmouth, NS,  B2Y 4A2,  CANADA
Bash.Toulany@dfo-mpo.gc.ca  Office: (902) 426-8931
Bash.Toulany@gmail.com         Cell:    (902) 478-5719