I see that you are using only one core (-nue 1), so a quick solution might be just to load the files to the core you use (rck00 for example). This should work:
scp myinput.in root@rck00:/path/to/folder
Then you can find the file at rck00 as /path/to/folder/myinput.in. It will disappear when you reboot SccLinux, but you can write a script to load it there...
I hope this helps.
Thanks that solves the problem
An even easier solution is to use full paths, so instead of trying to open
fp = fopen(fn, "r");
Thanks I can successfully run my program on SCC with two or more cores now but when I try to run my program on RCCE Emulator with more than one node I receive different segmentation fault errors. It works well with one node i.e. nue =1
./rccerun -nue 2 -f rc.hosts ./myprogram inputfile1 inputfile2 outputfile1 outputfile2
I have received different segmentation faults in each run. Again the following works with no problem
./rccerun -nue 1 -f rc.hosts ./myprogram inputfile1 inputfile2 outputfile1 outputfile2
What are the I/O operations towards the files? Perhaps you are attempting to write to the same file from different cores at the same time. I don't know if this could cause a segmentation fault, but this surely raises a matter of coherency!
That might be the cause of the problem. I will doible check. The thing s that it works very well on SCC platform....