From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,aba4baa235d75d7e,start X-Google-Attributes: gid111c93,public From: "Xavier GALLEZ" Subject: incompatibilities between DQS 3.2.7 and MPICH 1.2.0 ? Date: 2000/03/09 Message-ID: <8a882v$m9a$1@ail.sri.ucl.ac.be>#1/1 X-Deja-AN: 595148999 Content-Transfer-Encoding: 7bit X-Priority: 3 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: news@sri.ucl.ac.be X-Trace: ail.sri.ucl.ac.be 952607647 22826 130.104.238.144 (9 Mar 2000 13:14:07 GMT) Organization: Universite Catholique de Louvain, Louvain-la-Neuve, Belgium X-MSMail-Priority: Normal Mime-Version: 1.0 NNTP-Posting-Date: 9 Mar 2000 13:14:07 GMT Newsgroups: comp.os.linux.alpha Hello there, What follows might sound a little bit off topic, although it should be interesting for HPC users. I first submitted this bug to the DQS team and posted a message on comp.parallel.mpi a week ago, ... no reply yet (except from Rusty, many thanks by the way.) So I am trying to catch more HPC people' attention onto this. We are encountering problems when trying to start parallel jobs with the DQS batch queuing system (v. 3.2.7). We uses MPICH v. 1.2.0 as our MPI implementation. Our programs are compiled with Compaq's C compiler (ccc) for Alpha Linux. At a glance, DQS starts as many processes as requested by the user, but MPI sees only one of them. Here are more detailed explanations. The program to be run in this example is called "truc"; it simply prints on the screen its process id, the name of the machine on which it runs, and the number of processes involved in the job (plus a little something to last long enough, so that we get a chance to see the processes with qstat). Everything runs fine when starting processes on the local host, or on remote hosts with mpirun: deepflow:gallez> mpirun -v -np 2 truc running /home/kermadec.users/gallez/inma/seance2/truc on 2 LINUX_ALPHA ch_p4 processors Created /home/kermadec.users/gallez/inma/seance2/PI6963 Process 0 on deepflow.mema.ucl.ac.be, 2 processes running Process 1 on deepflow.mema.ucl.ac.be, 2 processes running deepflow:gallez> mpirun -v -np 2 -machinefile cluster -nolocal truc running /home/kermadec.users/gallez/inma/seance2/truc on 2 LINUX_ALPHA ch_p4 processors Created /home/kermadec.users/gallez/inma/seance2/PI6865 Process 1 on deepflow01, 2 processes running Process 0 on deepflow00, 2 processes running Things get more complicated when we try and start the processes with DQS: deepflow:gallez> cat myscript.sh #!/bin/csh #$ -N truc #$ -cwd limit coredumpsize 0 truc deepflow:gallez> qsub -l "ev56.and.(qty.eq.4).and.(-exec.eq.mpirun)" myscript.sh your job 4099 has been submitted deepflow:gallez> qstat -u gallez gallez truc eq_df01 4099 0:4 r RUNNING 03/03/100 16:42:40 gallez truc eq_df05 4099 0:4 r RUNNING 03/03/100 16:42:40 gallez truc eq_df08 4099 0:4 r RUNNING 03/03/100 16:42:40 gallez truc eq_df12 4099 0:4 r RUNNING 03/03/100 16:42:40 deepflow:gallez> ls truc* truc* truc.c truc.e4099.6774* truc.hosts4099.6774 truc.o truc.o4099.6774* deepflow:gallez> cat truc.hosts4099.6774 deepflow08.mema.ucl.ac.be deepflow05.mema.ucl.ac.be deepflow12.mema.ucl.ac.be deepflow01.mema.ucl.ac.be deepflow:gallez> cat truc.e4099.6774 deepflow:gallez> cat truc.o4099.6774 Process 0 on deepflow08, 1 processes running deepflow:gallez> As you can see, qsub starts 4 processes as requested on four hosts which meet the ressource request "ev56" (in this case, hosts 08, 05, 12, 01), but there is only one process defined in MPI_COMM_WORLD, as printed out by process # 0 (the only process actually doing something). I modified the arguments to qsub in many ways, by adding "-par mpi" or "-par generic_all", for example, but nothing really changed. Is anybody aware of a solution to this ? Many thanks in advance, Xavier -- ============================================================= Xavier Gallez http://www.meca.ucl.ac.be/~gallez Centre for Systems Engineering and Applied Mechanics (CESAME) Universite Catholique de Louvain Batiment Euler, Av. Georges Lemaitre, 4-6 B-1348 Louvain-la-Neuve, BELGIUM Tel: + 32 - 10 - 47 2365 Fax: + 32 - 10 - 47 2180 E-mail: gallez@mema.ucl.ac.be ============================================================= -- ============================================================= Xavier Gallez http://www.meca.ucl.ac.be/~gallez Centre for Systems Engineering and Applied Mechanics (CESAME) Universite Catholique de Louvain Batiment Euler, Av. Georges Lemaitre, 4-6 B-1348 Louvain-la-Neuve, BELGIUM Tel: + 32 - 10 - 47 2365 Fax: + 32 - 10 - 47 2180 E-mail: gallez@mema.ucl.ac.be =============================================================