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)?
(OP)
Hi!
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
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




