- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wei-Chih,
did you try giving entire path from root directory.
can you please share more details of code how you are calling that file and complete path of TRYONECPP20220705.
thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hareesh
thank you for your reply, I got the solution from this case.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page