Welcome to iraf.net Saturday, April 27 2024 @ 11:55 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Moved IRAF 2.12.2a to new system. Unable to open parameter file `uparm$imlimhear.par'
   
justinc
 07/09/2021 03:48PM (Read 1057 times)  
+----
Newbie

Status: offline


Registered: 07/06/2021
Posts: 4
I have moved this installation of IRAF to new systems several times, but it's getting really long in the tooth.
The thing is, it works, and I can't get newer installations to work the way we need them to in our environment.
I think I have most things working, except I'm getting the error Unable to open parameter file `uparm$imlimhear.par'
I have done a mkiraf, checked the permissions on the uparm directory, nothing seems to work. Any suggestions?
There is also an issue with tab autocomplete and 'dir' not working in some directories, but works in others with the same permissions and ownership. These 2 issues may not be related.

 
Profile Email
 Quote
justinc
 07/09/2021 09:06PM  
+----
Newbie

Status: offline


Registered: 07/06/2021
Posts: 4
I'm beginning to think these 2 things are related.
ecl\$this-\$this->_split2($m[0])_split2($m[0]) show uparm
home$uparm/
ecl\$this-\$this->_split2($m[0])_split2($m[0]) cd uparm
ecl\$this-\$this->_split2($m[0])_split2($m[0]) dir
.
ecl\$this-\$this->_split2($m[0])_split2($m[0]) ls
imlimhear.par

I'm not sure how the dir command works in IRAF. I assume it's a different compiled command than the system?

 
Profile Email
 Quote
fitz
 07/12/2021 06:35PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You didn't say what platform this was, but my guess is that you may be seeing issues with a space in a directory path (e.g. "/Users/My Mac/iraf/...."). This sometimes works with quoting the directory but you can still run into problems if the $iraf (or in your case $home) path contains a space. Post back if you still have problems.

 
Profile Email
 Quote
justinc
 07/15/2021 02:49PM  
+----
Newbie

Status: offline


Registered: 07/06/2021
Posts: 4
Thanks. This is a RHEL8 x86_64 machine. The user directories are mounted NFS, but there are no spaces in the directory or file names.

 
Profile Email
 Quote
admin
 07/19/2021 05:01PM  
AAAAA
Admin

Status: offline


Registered: 09/27/2005
Posts: 18
When a task looks for a parameter file it first looks in your uparm$ directory, and then in the task source directory. Your uparm$ depends on your home$ path, what does "cl\$this-\$this->_split2($m[0])_split2($m[0]) show home$" say the path is? The task directory is built off of the iraf$ root directory, so likewise what does "cl\$this-\$this->_split2($m[0])_split2($m[0]) show iraf" show is the path?

Parameter file issues are usually path problems, if not spaces or permissions in the path then either an incorrect path or sometimes a missing trailing '/' in the path definition. Using the osfn() function to get the OS filepath (e.g. "cl\$this-\$this->_split2($m[0])_split2($m[0]) =osfn("home$")") can expand the path. I'm assuming the prompts in your second post are an artifact of the posting.

Lastly, the v2.12.2a release is 32-bit only, if the filesystems you're using are very large they may be creating 64-bit inodes and so the system thinks it can't find the file because of this. In this case the only workaround is to use the 64-bit v2.16 system or else run a 32-bit OS in a VM.

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login