×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Execute a shell script from an IUA

Execute a shell script from an IUA

Execute a shell script from an IUA

(OP)
Hi all,

Does anyone know if it's possible?
Thanks

RE: Execute a shell script from an IUA

Hello,
Yes, it's possible. BUT I'm afraid You need fortran or C to do it.
You need to call fortran/C routine that executes Your shell script.
I have done 4.1.2 that but I don't have that code left..
There was some issues with signals in those days.

Regards TPale

RE: Execute a shell script from an IUA

    subroutine sample
c
c ****************************************
c * This subroutine calls a UNIX script  *
c ****************************************
c
        call system('ksh $HOME/plot_tif')
c
        return
        end


I hope this helps.

Jackie

RE: Execute a shell script from an IUA

(OP)
Thank you for your answers.
Jackie, I tried to create a load module with your subroutine sample, but I get an error message in IUA function: load module cannot be loaded.

I've been using f77 to compile the .f file, and the "shared" command to generate the load module.
I also set the catia.iuamodule_usr to the right directory.

If you have an idea, let me know
Regards

RE: Execute a shell script from an IUA

To compile the Fortran program I used Fortran 90, XLF Fortran 5.1.1.1.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources