Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sending jobs to networked machine
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Fri May 23, 2008 4:41 am    Post subject: sending jobs to networked machine Reply with quote

Hello all,

I am programming CPU intensive calculations, I do my programming on my Mac computer, and run the program on a gentoo linux workstation (WS). To do that, I pass my source to the WS using cvs;
I am logged in the workstation via ssh, so I cvs update on the workstation, compile there, move the program to a subdirectory and batch execute; change the parameters and so on...
Then I get the results back on the Mac thanks to fuse-ssh.

Now, I used to use workstations administered by a real administrator (I am administering the WS I am now using) and then, I could compile locally and send the job to the WS without logging in. I would like to know whether there is a simple way to accomplish that, being logged into my WS is not a problem but it would be nice to receive the results by email and it is just more convenient. What I could find so far is HPC-cluster oriented and way above my head. I would like a simple solution if there is any. Combining distcc and something? I don't know...
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Fri May 23, 2008 10:16 am    Post subject: Reply with quote

it does not get clear what exactly you want to do.
what do you mean with
Quote:
being logged into my WS is not a problem

a ssh connection?
if you do not want to keep a ssh window open (and risk that the job is aborted if you accidentally close the connection) you can use screen.
a email notification is easy, just use mailx for that. you can simply use
Code:
yourcommand; echo "foo goo" | mailx -s "subject" address@domain.tld
Back to top
View user's profile Send private message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Mon May 26, 2008 1:03 am    Post subject: Reply with quote

Thank you for your answer, I use screen already, but, if possible, I would rather not be logged in at all. I found that using
Code:
batch
does what I want, regarding the email notification, though.
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum