runtime error in optos_csm

Everything related to the preinstalled test cases in COHERENS. Additionally, you can find here the necessary files to setup a test case.If you have developed a new test case and you want to share it with other users, feel free to post a new thread.

Moderator:Katrijn

Post Reply
Sou
Posts:51
Joined:Wed Sep 03, 2014 7:46 pm
Full name:Soudeh Afsharian
runtime error in optos_csm

Post by Sou » Tue Oct 10, 2017 5:27 pm

Hi,
I try to run optos_csm
but I get this error:

A total of 1 errors occurred in open_filepars
Error type 1 : Not possible to open file
PROGRAM TERMINATED ABNORMALLY

when I open the inilog file it shows:
Unable to open file OUTDIR/optcsm_obc.dat on unit 7 type OUT (U)

seems this file (optcsm_obc.dat) is missed. however, I don't know what OUTDIR is. We don't have such a directory at all!


Version 2.4.1

Regards,
Sue

paloma
Posts:2
Joined:Fri Oct 13, 2017 11:31 am
Full name:Paloma de la vallee

Re: runtime error in optos_csm

Post by paloma » Fri Oct 13, 2017 11:39 am

Hello Sue,

I had similar problems, and you should just create the directory OUTDIR.

A little pointer for if you intend to test the nesting chain csm/nos/bcs:
It's easier if you actually create a outdir_coherens somewhere and create a symbolic link to this outdir_coherens named OUTDIR.

Something like
/home/sue/Tests$ mkdir outdir_coherens
/home/sue/Tests/optos_csm$ ln -s /home/sue/Tests/outdir_coherens OUTDIR

If you do this for all test_cases of the chain (csm/nos/bcz), the program will find the in- and output files necesseary to pass the OBCs without any special action on your part.

Have fun,
paloma

Sou
Posts:51
Joined:Wed Sep 03, 2014 7:46 pm
Full name:Soudeh Afsharian

Re: runtime error in optos_csm

Post by Sou » Wed Oct 18, 2017 9:10 pm

Thank you Paloma, I indeed removed the name of the Directory OUTDIR, so it worked.
We can choose either options.
Thanks again,
Sue

Post Reply