Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

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

Status
Not open for further replies.

bort2bort

Structural
Sep 27, 2012
1
Hi!

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

[tt]marc -jid model2_job1 -user uedinc -save yes[/tt]

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

Afterwards I entered:

[tt]marc -jid model2_job1 -prog uedinc [/tt]

in order to execute the (non-existing-)executable file [tt]uedinc.marc[/tt]. 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 [tt]model2_job1.dat[/tt] exits with exit code 3004 (that is OK).
But my user subroutine uedinc[tt][/tt] doesn't seem to be opened. There is no output in the *.out[tt][/tt]-file, nor in any other file.


Compiler / Reinstallation of Marc

Compiling the file manually with the command:

[tt]f77 uedinc.f[/tt]

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor