ie-CUDATeam / 2013ie-CUDA

1 stars 0 forks source link

Copying to the CUDA Server #9

Open Nobyliti713 opened 10 years ago

Nobyliti713 commented 10 years ago

Perhaps I'm just not proficient with ssh, but I could not copy my files from my lab computer to the CUDA server. I SSH'ed into Urasoe and then Nereid, tried scp, cp, copy....none worked. Maybe it won't work with an executable? I was sending the .exe that I already compiled here in the lab, and wanted to run it on the server.

kanpe777 commented 10 years ago

hm... are you try rsync command ? I success ↓ command

$ rsync /Users/kanpe777/hoge 〇〇@yomitan.ie.u-ryukyu.ac.jp:/home/student/k13/〇〇/hoge
$ ssh yomitan server
$ cd $HOME
$ rsync hoge 〇〇@nereid.ads.ie.u-ryukyu.ac.jp:/home/student/k13/〇〇/fuga

〇〇 is your account.

in yomitan

(sended hoge from local) screen shot 2013-12-26 at 18 09 55

in nereid

(sended renamed fuga from yomitan) screen shot 2013-12-26 at 18 15 11

Nobyliti713 commented 10 years ago

Ok, rsync worked. But running the executable creates this output:

ssh-mergesort

Could this be because I compiled the executable on a Windows machine, and maybe the server is Unix? :(

himajin315 commented 10 years ago

Sorry for my late reply. The server is Linux.

$ cat /etc/redhat-release
CentOS release 5.9 (Final)

You should recompile the server.

Example

$ nvcc hoge.cu