Opened 11 years ago

Closed 11 years ago

#358 closed help (fixed)

Setting environment variable NLSPATH

Reported by: anmcr Owned by: grenville
Component: UM Model Keywords: NLSPATH
Cc: Platform:
UM Version: <select version>



I get the error message

'Unrecoverable library error
Unable to find error message (check NLSPATH, file'

I saw from a previous ticket that the solution was to copy to my local directory and set the environment variable NLSPATH to point to it. I have done this bit still get the same error message. Could someone please help?

Job: xehwb
path: /home/n02/n02/anmcr/files/



Change History (7)

comment:1 Changed 11 years ago by grenville

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


I have looked at xehwb but can't see where NLSPATH has been set. Add NLSPATH to the list of environment varaibles in input/output control ans resources>Time convention and SCRIPT>. The other option would be to use the explain command at a Hector shell prompt. Here's some trace from man explain:


explain - PathScale? Fortran compiler and runtime error message explanation utility


explain message_id


The explain utility displays a detailed explanation for an error message printed by the PathScale?™ Fortran
compiler or runtime library.

When the Fortran compiler or runtime prints an error message, it prefixes the message with a string in the format
"subsystem-number", e.g. "pathf95-724". This is the message_id string that you must provide to the explain utility.

comment:2 Changed 11 years ago by anmcr

Dear Grenville,

Thanks for looking at this.

Could you please take another look at the job. I followed your instructions on how to add NLSPATH to the list of environment variables in the umui. However on re-running the job the error is still occurring. I would be grateful if you could check what I have done.



comment:3 Changed 11 years ago by grenville


NLSPATH should point to the file, so add / to your entry - I'd move this file to /work rather than /home since the UM can't access /home when running. I hope that works.


comment:4 Changed 11 years ago by anmcr

Dear Grenville,

Sorry to say but I am still getting the same error message. The steps I have taken are

1) Moved the file to /home/n02/n02/anmcr/work
2) Set the Environment variable NLSPATH in 'Input/Output? Control and Resources'/'Script inserts and Modifications' to '/home/n02/n02/anmcr/work/'. This was from a ticket from Ros.
3) Also set the NLSPATH in 'Input/Output? Control and Resources'/'Time convention and SCRIPT Environmental Variables', as you suggested.

Could you please have another look?

The job id is xehwb


Andrew (anmcr)

comment:5 Changed 11 years ago by grenville


You have in your home space. I think it needs to be in your work space - try putting it in /work/n02/n02/anmcr.


comment:6 Changed 11 years ago by anmcr

Dear Grenville,

Your suggestion worked. I thought that /home/n02/n02/anmcr/work was the same as /work/n02/n02/anmcr, but obviously not.

Thanks for your help,


comment:7 Changed 11 years ago by lois

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.