Hello Community,
I have a fortran program example call like this:
/home/oclinux/foo/foo2/foo3/fprogram /home/oclinux/foo9/foo8/foo7/foo6/foo5/fortinput.in
This call cant run my fortran program because they output to the screen that the file ' ' (empty) cant be loaded!
So the problem is that my program cant see the file in the long path name above ( the real name is a bit more longer). I try with shorts path names , and the program can run, reading the input file.
I googleit for this type of error and only found that bash have limits on the filenames and inputs, so i change them (/usr/local/linux/limits.h or some like) to a very high value (999) ,but no success.
I appreciate if some one have a elegant and simple way to solve this problem, focus on a user change rather than admin (some call or set in bash!?), but if the problem needs admin changes i dont worry.
Thanks
---------- Post added at 10:51 AM CDT ---------- Previous post was at 10:36 AM CDT ----------
Just to remember:
I try some others things:
fprogram < file
export x=longpathtofile
fprgrogram $x
fprgrogram < $x
Nothing....
PS: the " cd to folder" and "fprogram file" is not a option , because this call is inside others routines, so this solution will require a lot of work , because all my scripts are set to the full path name, and not implicit paths ( like ".." ).
Thankz