Closed yuchen-w closed 9 years ago
Some things to check are:
(cd $(HPCE_CL_SRC_DIR); ls */*/*.cl)
, does it echo back the .cl paths as they appear in the program?If loading the .cl is not working, you might want to create a tiny test program which only loads the .cl file, then try opening that in GDB and stepping over the part where it opens the file.
I've got the same problem (coming from a windows environment)
For the second test though, did you mean to do cd $(HPCE_CL_SRC_DIR)? because the ls works find at the root and does return the path (I'm thinking * means wildcard)
For the second test, I'm not getting anything when I do
(cd $(HPCE_CL_SRC_DIR); ls */*/*.cl)
with my environment variable set as:
I do however get the following if I just run ls //*.cl
With regards to point 3, I've tried both of the following:
std::string baseDir = "src/yw4311";
std::string baseDir = "./src/yw4311";
Both return the same error.
With point 4, it would appear that I have read permissions:
I think I might be wrong about the program not being able to find the *.cl files. I'm getting a segmentation fault when I run my step_world functions which require a .cl file
I've fixed it now. I copied the original LoadSource function back in and that's fixed it all. Silly me.
I am getting this error on the AWS instance.
I find it strange because it compiles and runs fine using Windows PowerShell (Compiled using VS) and Cygwin (re-compiled using cmake):
However, taking the same code and running it on AWS:
Edit: After doing some digging, it would appear that the directory "src/your_login" is being found, but the various .cl files are not. Still not sure about how to fix it though.