start calculation using ssh connection to remote computer
Dear all,
is it possible to use ssh to start the calculation on a remote computer?
If I try to start the calucaltion via ssh on a remote computer I receive this message:
DualSPHysics4 v4.0.056 (18-05-2016)
====================================
[Select CUDA Device]
Exception (JSphGpuSingle::SelecDevice)
Text: Failed getting devices info. (CUDA error: no CUDA-capable device is detected).
*** Exception (JSphGpuSingle::SelecDevice)
Text: Failed getting devices info.
Execution aborted
Is there a way to start the calc using ssh?
Thank you for reply.
Best regards,
Benjamin
is it possible to use ssh to start the calculation on a remote computer?
If I try to start the calucaltion via ssh on a remote computer I receive this message:
DualSPHysics4 v4.0.056 (18-05-2016)
====================================
[Select CUDA Device]
Exception (JSphGpuSingle::SelecDevice)
Text: Failed getting devices info. (CUDA error: no CUDA-capable device is detected).
*** Exception (JSphGpuSingle::SelecDevice)
Text: Failed getting devices info.
Execution aborted
Is there a way to start the calc using ssh?
Thank you for reply.
Best regards,
Benjamin
Comments
I ran into the same problem using remote desktop protocol. I don't think it's possible to launch simulation remotly using this kind of protocol.
It's working perfectly using TightVNC viewer or Teamviewer program.
Hope this helps,
Clement
I am so sorry but it seems that it is not a problem of our code but how you launch the server....
For the error message, see also: http://www.dual.sphysics.org/index.php/forums/#q2
Regards
our HPC center
For example:
DualSPHysics4 v4.0.055 (15-04-2016)
====================================
[Select CUDA Device]
Device 0: "Tesla K40m"
Compute capability: 3.5
Multiprocessors: 15 (2880 cores)
Memory global: 11519 MB
Clock rate: 0.75 GHz
Run time limit on kernels: No
ECC support enabled: Yes
[GPU Hardware]
Device default: 0 "Tesla K40m"
Compute capability: 3.5
Memory global: 11519 MB
Memory shared: 49152 Bytes
[Initialising JSphGpuSingle v0.70 16-10-2016 20:47:13]
Your remote computer have not CUDA Device.(?) Actually.(?)
We use SLURM LLNL
Very strange your question, do not you find?
How does SSH protocol or any other relate to DualSPHysics, which is only solver
and don’t use any protocol. You may develop your own protocol. Then use it and find: "no CUDA-capable device is detected" again.
I suspect your remote computer havent CUDA device.
It is very easy
Best wishes
thanks for your replys. I am absolutly sure that this machine has a cuda compatible card, because starting dualSphysics locally works fine.
My intention was not to mention that there is a problem with the code it is more a problem of something else.
I only would like to start the calculation via remote because the machine is not located under my desk.
Thank you for your support.
Best regards,
Benjamin
Another problem: your sh script is wrong or old cuda driver
contact your system administrator
Please can you give us some further details of the system? Some remote servers require you to load the drivers manually, but I wouldn't expect that to be an issue with a workstation.
If you have the CUDA samples installed, try to locate the folder and run deviceQuery to see if it finds any CUDA enabled devices. Defualt install locations and other information can be found here:
http://docs.nvidia.com/cuda/cuda-samples/index.html#getting-started-with-cuda-samples
If you have direct access to the machine it could be a good idea to install the CUDA samples anyway.
You could also try and run "nvcc --version" to check you have the CUDA compiler installed.
Feel free to contact me directly and I'll see if I can offer some assistance.
Best,
Mashy.
it is a 8 Core Xeon something machine with nvidia 650 TI I think.
nvcc --version returns:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44
Return of deviceQuery:
Device 0: "GeForce GTX 650 Ti BOOST"
Calculations are starting locally without any problem.
Thanks a lot for you patience
Benjamin
Thank you for you kind help!
Best regards,
Benjamin
No idea because no detail about what and how you do
further details of your system, remote computer?