Hello intel oneapi devcloud team
I have a question about file path while using jupyterlab as below description and picture:
In my .cpp file, I need to use the data .in that exist in a file, so I define something as a path (for example: #define DATA_DIR "C:/Users/user/Desktop/TRYONECPP/data/bm1"). It can run when i use visual studio in my local system.
Then, I wanna run it on jupyter cause I have to try cpu, gup and fpga, So I change the path define to #define DATA_DIR "TRYONECPP20220705/data/bm1". It will run fail when I perform it by qsub as below
Do you know how to write the correct path if i want to read data from u136316@s001-n012:~/TRYONECPP20220705/data/bm1.
file path and cpp code as below. How to modify the path in my .cpp code?
data in the bm1 file
thank you for your reply, I got the solution from this case.