Hi everybody, finaly my cluster is working fine. I suggested the users to use this script:
#!/bin/bash #PBS -l nodes=1:ppn=4 cd $PBS_O_WORKDIR mpirun -np 4 /usr/local/vasp/vasp or #!/bin/bash #PBS -l nodes=1:ppn=8 cd $PBS_O_WORKDIR mpirun -np 8 /usr/local/vasp/vasp ALWAYS paying atention to the numbers of ppn, indicating the same amount in the line mpirun.... and the line #PBS ...... I will try with CPUSET later, as Antonio Messina ([email protected]) indicated me. Thanks everybody ---------------------------------------------------- Ing. Fernando Caba Director General de Telecomunicaciones Universidad Nacional del Sur http://www.dgt.uns.edu.ar Tel/Fax: (54)-291-4595166 Tel: (54)-291-4595101 int. 2050 Avda. Alem 1253, (B8000CPB) Bahía Blanca - Argentina ---------------------------------------------------- El 28/09/2011 12:26 AM, Denis escribió: > Hello, Fernando! > > *it goes in English because my Portuguese would probably not help. ;) > > 2011/9/28 Fernando Caba<[email protected]>: >> Hi Gus, my node file /var/spool/torque /server_priv/nodes looks like: >> >> [root@fe server_priv]# more nodes >> n10 np=12 >> n11 np=12 >> n12 np=12 >> n13 np=12 >> [root@fe server_priv]# >> >> it is exact as your comment. >> >> My script: >> >> #!/bin/bash >> >> cd $PBS_O_WORKDIR >> >> mpirun -np 8 /usr/local/vasp/vasp >> > You are missing to inform pbs that you are using 8 cores. > you have to add before anything runs in your script a line: > #PBS -lnodes=8 > > Torque cannot trace the number of mpi processes. A user could request > 4 cpus and start n mpi processes for example. > > So, requesting it in your script as > #PBS -lnodes=8 > then running mpirun -np 8 will do the job. > > > Regards, > _______________________________________________ mauiusers mailing list [email protected] http://www.supercluster.org/mailman/listinfo/mauiusers
