Welcome, Guest
Username: Password: Remember me

TOPIC: Reading extra user files in SISYPHE

Reading extra user files in SISYPHE 10 years 3 months ago #13810

  • JohnA
  • JohnA's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
Hello,
I have code in my FORTRAN_FILE to read in data from an extra auxiliary file. This worked fine on an earlier sisyphe version.

Now I am using v6p3 it seems to assume the auxiliary file is stored in the run sub-directory that the sisyphe system creates.

Now I get an error message because obviously the auxiliary file doesn't exist in the sub-directory.

Has something changed between versions that is causing this problem?

Thanks

John
The administrator has disabled public write access.

Reading extra user files in SISYPHE 10 years 3 months ago #13811

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Nothing has changed to my knowledge, if the file is "official", I mean if it is in the list of files in the dictionary, it will be copied in the sub-directory. If it is not "official", you need to open and close it yourself and in this case starting the address with ../myfile (..\myfile in Windows...) so that you go backwards from the working directory to the place where your file is. Maybe you wrote only ./myfile ?

Regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Reading extra user files in SISYPHE 10 years 3 months ago #13825

  • JohnA
  • JohnA's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
Dear Jean-Michel
Thanks, your suggestion of using a relative path to go up a level worked.

Still not sure why my previous approach with the absolute path failed, but thanks again.
John
The administrator has disabled public write access.
Moderators: Pablo, pavans

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.