[Paraview] pvserver submission thru qsub/PBS
John Patchett
patchett at lanl.gov
Thu Apr 16 16:01:50 EDT 2009
I have not tried a reverse connection from a batch job to a waiting
client, but it sounds like it should work. Have you tried using a
normal batch script something like:
#PBS -A myproject
#PBS -N paraview
#PBS -j oe
#PBS -l walltime=00:01:00,size=512
cd /myparaviewbindir
mpirun -n 512 ./pvserver --reverse-connection --client-
host=myheadnode
as an aside,
forwarding X is generally much slower than it has to be.
My environment makes it very difficult to get the reverse connection
all the way to my desktop but i can do some port forwarding to get
port 11111 from my desktop to the back end node.
ssh -L11111:process0:11111 myheadnode
which would probably work a lot better/faster than forwarding X
We have a some machines that have a gateway and then a front end node,
which gets a lot more complicated, but can still be done with port
forwarding.
-John.
On Apr 16, 2009, at 1:47 PM, Jack Gundrum wrote:
> John,
> If the client is running on the login/head node (with X-forwarding
> to my laptop) and from the client I want to start the parallel
> backend I would enter the commands in the connect gui to choose a
> server. Have you ever tried using qsub this way?
>
>
> Patchett wrote:
>> Hi Jack,
>> Usually you have to figure out what process 0 is going to be, so
>> you get an interactive session using something like:
>> qsub -I -A myproject -q debug -V -lsize=64,walltime=20:00
>> which I use on one of the machines I use...
>>
>> I then do an
>> mpirun -n 1 hostname
>> to find out the first node from MPI's perspective so I can connect
>> to it with a client.
>>
>> then:
>> mpirun -n 64 pvserver
>>
>> If you are really trying to do batch I think there is still a
>> pvbatch.
>>
>> -John.
>> On Apr 16, 2009, at 12:32 PM, Jack Gundrum wrote:
>>
>>> Hi,
>>> I would like to launch pvserver from paraview using a PBS script
>>> for submitting thru qsub.
>>> Are there docs or better yet examples that could be shared about
>>> this? - Thanks
>>>
>>> --
>>> Jack Gundrum
>>> ITS - Research Computing & Cyberinfrastucture
>>> Penn State University
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
> --
> Jack Gundrum
> ITS - Research Computing & Cyberinfrastucture
> Penn State University
>
More information about the ParaView
mailing list