Welcome to iraf.net Friday, May 10 2024 @ 09:52 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 tiltpars (fortran executable in iraf)
   
ebubar
 09/14/2010 05:36PM (Read 1156 times)  
+----
Newbie

Status: offline


Registered: 05/28/2009
Posts: 2
I wonder if anyone can help with this. I am reducing some MIKE echelle spectra using the mike_tools packages. I've reached the point where I am correcting for the tilt of the slit using a fortran program called tiltpars. It is compliled and I have linked to it using:
task tiltpars=location/./tilparsThis gives me an error:
ERROR: task 'tiltpars' has no param fileI assume I need to link somehow so that IRAF knows its a fortran executable, not an IRAF package. Any insight?

 
Profile Email
 Quote
ebubar
 09/14/2010 05:36PM  
+----
Newbie

Status: offline


Registered: 05/28/2009
Posts: 2
If anyone else runs into this, I seem to have fixed the problem. I needed to first include the path to my tiltpars executable in my .bashrc:
In my case:
PATH=$PATH:/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/:$PATHI also added an alias to my executable:
alias tiltpars='/Applications/scisoft/all/Packages/iraf/mike_tools/iraf/./tiltpars'Finally, I loaded this into IRAF using the $foreign option...task $tiltpars=$foreign which I believe tells IRAF that the command tiltpars isn't an IRAF script.

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