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


How to implement and run a subroutine (on UNIX/LINUX with MSC MARC & MENTAT)?

How to implement and run a subroutine (on UNIX/LINUX with MSC MARC & MENTAT)?

How to implement and run a subroutine (on UNIX/LINUX with MSC MARC & MENTAT)?


I want to include a subroutine uedinc.f when running the input file model1_job1.dat.
As described in the MARC manual Volume C I entered in the terminal window within the current working directory:

marc -jid model2_job1 -user uedinc -save yes

This should create an executable file within the current directory with the ending *.marc, but I can't find this file.

Afterwards I entered:

marc -jid model2_job1 -prog uedinc

in order to execute the (non-existing-)executable file uedinc.marc. The job finishes with 3004 (OK), but no error message, neither an entry in an outputted file anywhere.
(But I can't find the *.log-file.)

The job model2_job1.dat exits with exit code 3004 (that is OK).
But my user subroutine uedinc doesn't seem to be opened. There is no output in the *.out-file, nor in any other file.

Compiler / Reinstallation of Marc

Compiling the file manually with the command:

f77 uedinc.f

works, so I get some error messages in the terminal.
Reinstallation of Marc didn't help too.

Can anyone explain to me step by step how to run a job with a user-subroutine in marc and what should be seen/created after each command?

Thanks, Steeve

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!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close