Hi Leila,
Try:
nohup mpirun -np 2 $AMBERHOME/exe/sander.MPI -ng 2 -groupfile
model_step1.group </dev/null &
A lot of mpi implementations require you to redirect standard in from dev
null when running in the background. You also need the nohup in the front so
the job doesn't quit when you close the shell.
All the best
Ross
> -----Original Message-----
> From: leila karami [mailto:karami.leila1.gmail.com]
> Sent: Sunday, November 27, 2011 3:30 AM
> To: amber
> Subject: [AMBER] running of the sander in background in parallel state
>
> Dear amber users
>
> I study TUTORIAL A6.
>
> I want to do section of [mpirun -np 2 $AMBERHOME/exe/sander.MPI -ng 2
> -groupfile model_step1.group] in background.
>
>
> I know, in serial state of amber,
>
> The ampersand will background the job. for example
>
> $AMBERHOME/exe/sander -O -i min.in -o min_protein.out -p
> protein.prmtop -c protein.inpcrd -r protein_min.crd &
>
> I did 2 states:
>
> 1) mpirun -np 2 $AMBERHOME/exe/sander.MPI -ng 2 -groupfile
> model_step1.group &
>
> 2) in model_step1.group file, I put & in the end
>
> unfortunately, none of them were not true.
>
> please guide me about that.
>
> best regards.
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Nov 28 2011 - 10:30:03 PST