Welcome to iraf.net Thursday, May 02 2024 @ 05:06 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 batch job submission
   
duvall
 04/07/2011 04:28PM (Read 1320 times)  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
With v.14, I submit jobs to our batch queue with a small script that looks like:#!/usr/local/iraf/iraf/bin.redhat/cl.e -f
cl </home/duvall/loginbatch.cl
hostname
date
string s0
s0 = mktemp ("temp_")
mkdir (s0)
cd (s0)
print (s0)
# (commands)
cd ("..")
rm ("-r ", s0)
date
logoutFor v.15, I tried just changing the directory to linux64 instead of redhat.
I get the following error message:ERROR: Cannot open connected subprocess (./x_system.e)
cl ()
cl ()
Error while reading login.cl file - may need to rebuild with mkiraf
Fatal startup error. CL dies.Any idea what is going on?
Tom

 
Profile Email
 Quote
fitz
 04/07/2011 04:28PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
My guess is that you've still got an environment variable somewhere (e.g. the .cshrc, .profile or .bachrc, etc) that is still setting IRAFARCH and/or 'arch' to redhat. If you can't track this down then setting 'bin.redhat' symlinks to point to the 'bin.linux64' directories should also work.

 
Profile Email
 Quote
   
Content generated in: 0.08 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