²é¿´: 1937  |  »Ø¸´: 3

ÁõÖ¾Áè

ľ³æ (СÓÐÃûÆø)

[ÇóÖú] mpirun²¢ÐÐÔËÐÐÎÊÌâ

ÎÒÔÚ¼¯ÈºÉÏÔËÐÐÒ»¸öÈí¼þ,±¾ÒâÒªÇóËüÒ»´ÎͬʱÔËÐÐÁ½¸öÈÎÎñ,µ«ÊÇÿ´ÎËü¶¼Ö»ÊÇÔËÐÐÒ»¸öÈÎÎñ,Èí¼þµÄ×÷Õß½âÊÍÊÇÈçÏÂ,²»ÖªÓÐûÓдóÏÀÄÜ·ñÖ¸µãÒ»ÏÂÃÔ½ò.ÏÈÐÐллÁË.
It appears that both mpi processes launched, but for some reason they launched independently of each other.  This means that neither process was aware of the other process, so both processes were doing the same things.  Both processes opened Test.inp and then tried to create this directory:

/home/Test/Gaussian/bestSavedStructures

One process succeded, and the other failed.  The one that failed printed "Couldn't create log files directory." in the .e file and immediately stopped.  The other kept going and made it to iteration 10, which was the predetermined stopping point.  There didn't seem to be any problems with the disk which is very good.  If you can figure out how to get the processes to see each other, you'll have a working program.

Upon launch, each process prints it's rank (or index) and the total number of processes.  This is what was printed during this run:
This is MPI process with rank 0.  Total MPI processes: 1
This is MPI process with rank 0.  Total MPI processes: 1

This is what it should have printed:
This is MPI process with rank 0.  Total MPI processes: 2
This is MPI process with rank 1.  Total MPI processes: 2

Please replace '-np 2' in pso.pbs with another option.  You might try '-hostfile nodes.txt' or '-cpus-per-rank 1'.  Or look at other options listed at http://www.open-mpi.org/doc/v1.4/man1/mpirun.1.php .  Hope that helps!
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

ºÃÈËÒ»Éúƽ°²
ÒÑÔÄ   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ÁõÖ¾Áè

ľ³æ (СÓÐÃûÆø)

×÷ÕßµÄָʾµÄÄǼ¸¸öÑ¡ÏîÎÒ¶¼ÊÔ¹ýÁË,½á¹û»¹ÊÇÒ»´ÎÔËÐÐÒ»¸öÈÎÎñ
ºÃÈËÒ»Éúƽ°²
2Â¥2012-10-29 20:32:28
ÒÑÔÄ   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

virtualzx

ľ³æ (ÖøÃûдÊÖ)

ÒýÓûØÌû:
2Â¥: Originally posted by ÁõÖ¾Áè at 2012-10-29 07:32:28
×÷ÕßµÄָʾµÄÄǼ¸¸öÑ¡ÏîÎÒ¶¼ÊÔ¹ýÁË,½á¹û»¹ÊÇÒ»´ÎÔËÐÐÒ»¸öÈÎÎñ

Çë¸ø³öÄãµÄÃüÁîÐÐ
3Â¥2012-10-30 03:53:15
ÒÑÔÄ   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ÁõÖ¾Áè

ľ³æ (СÓÐÃûÆø)

ÒýÓûØÌû:
3Â¥: Originally posted by virtualzx at 2012-10-30 03:53:15
Çë¸ø³öÄãµÄÃüÁîÐÐ...

#!/bin/bash
#PBS -N TestJob
#PBS -l nodes=2:ppn=8,walltime=0:30:00
#PBS -l mem=4GB
export LD_LIBRARY_PATH=/home/fan_group/openmpi/lib:$LD_LIBRARY_PATH
echo PBS_O_WORKDIR=$PBS_O_WORKDIR
echo PBS_ENVIRONMENT=$PBS_ENVIRONMENT
echo PBS_NODEFILE=$PBS_NODEFILE
echo cat $PBS_NODEFILE
cat $PBS_NODEFILE
echo $PBS_NODEFILE
echo HOSTNAME=`/bin/hostname`

# Create the nodes.txt file
# The next line writes one node per line and allows duplicate nodes
# Use this if you want one Gaussian job per processor.
# cp $PBS_NODEFILE /home/fan_group/lzhl/pso/Test/Gaussian/nodes.txt


# The next line writes one node per line and does NOT allow duplicate nodes.
# Use this if you want one Gaussian job per node with each job runing in parallel on multiple processors.
cat $PBS_NODEFILE | uniq > /home/fan_group/lzhl/pso/Test/Gaussian/nodes.txt

cd /home/fan_group/pso1.5.2
/opt/openmpi/bin/mpirun -np 2 ./pso -walltime 0:30:00 /home/fan_group/lzhl/pso/Test/Gaussian/Test.inp
ºÃÈËÒ»Éúƽ°²
4Â¥2012-11-05 10:30:44
ÒÑÔÄ   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ ÁõÖ¾Áè µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 279·ÖÇóµ÷¼Á Ò»Ö¾Ô¸211 +8 chaojifeixia 2026-03-19 8/400 2026-03-20 11:29 by lature00
[¿¼ÑÐ] 081700»¯¹¤Ñ§Ë¶µ÷¼Á +3 ¡¾1¡¿ 2026-03-16 3/150 2026-03-19 23:40 by edmund7
[¿¼ÑÐ] ÉúÎïѧµ÷¼ÁÕÐÈË£¡£¡£¡ +3 ɽº£Ììá° 2026-03-17 4/200 2026-03-19 21:34 by ÔõôÊÍ»³
[¿¼ÑÐ] 0703»¯Ñ§µ÷¼Á +4 18889395102 2026-03-18 4/200 2026-03-19 16:13 by 30660438
[¿¼ÑÐ] ²ÄÁÏÓ뻯¹¤Çóµ÷¼Á +7 Ϊѧ666 2026-03-16 7/350 2026-03-19 14:48 by ¾¡Ë´Ò¢1
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤Çóµ÷¼Á +6 Ð÷ÐÒÓë×Ó 2026-03-17 6/300 2026-03-19 13:27 by houyaoxu
[¿¼ÑÐ] ±¾¿ÆÖ£ÖÝ´óѧÎïÀíѧԺ£¬Ò»Ö¾Ô¸»ª¿Æ070200ѧ˶£¬346Çóµ÷¼Á +4 ÎÒ²»ÊÇÒ»¸ù´Ð 2026-03-18 4/200 2026-03-19 09:11 by ¸¡ÔÆ166
[¿¼ÑÐ] 304Çóµ÷¼Á +6 ˾¿Õ. 2026-03-18 6/300 2026-03-18 23:03 by ÐÇ¿ÕÐÇÔÂ
[¿¼ÑÐ] 311Çóµ÷¼Á +4 ¶¬Ê®Èý 2026-03-18 4/200 2026-03-18 21:47 by ¾¡Ë´Ò¢1
[¿¼ÑÐ] 354Çóµ÷¼Á +4 Tyoumou 2026-03-18 7/350 2026-03-18 21:45 by Tyoumou
[¿¼ÑÐ] ²ÄÁÏרҵÇóµ÷¼Á +5 hanamiko 2026-03-18 5/250 2026-03-18 20:19 by ÐÇ¿ÕÐÇÔÂ
[¿¼ÑÐ] 08¹¤¿Æ 320×Ü·Ö Çóµ÷¼Á +5 À滨çóÍí·ç 2026-03-17 5/250 2026-03-18 14:49 by haxia
[¿¼ÑÐ] 070300»¯Ñ§319Çóµ÷¼Á +6 ½õÀð0909 2026-03-17 6/300 2026-03-18 13:22 by Iveryant
[¿¼ÑÐ] ²ÄÁÏ£¬·ÄÖ¯£¬ÉúÎ0856¡¢0710£©£¬»¯Ñ§ÕÐÉúÀ² +3 Eember. 2026-03-17 9/450 2026-03-18 10:28 by Eember.
[¿¼ÑÐ] 301Çóµ÷¼Á +9 yyÒªÉϰ¶Ñ½ 2026-03-17 9/450 2026-03-18 08:58 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] 334Çóµ÷¼Á +3 Ö¾´æ¸ßÔ¶ÒâÔÚ»úÐ 2026-03-16 3/150 2026-03-18 08:34 by lm4875102
[¿¼ÑÐ] ¿¼Ñе÷¼Á +3 ä¿ya_~ 2026-03-17 5/250 2026-03-17 09:25 by Winj1e
[¿¼ÑÐ] 318Çóµ÷¼Á +3 Yanyali 2026-03-15 3/150 2026-03-16 16:41 by houyaoxu
[¿¼ÑÐ] 0703»¯Ñ§µ÷¼Á 290·ÖÓпÆÑо­Àú£¬ÂÛÎÄÔÚͶ +7 ÄåÄågk 2026-03-14 7/350 2026-03-16 10:12 by houyaoxu
[¿¼ÑÐ] 266Çóµ÷¼Á +4 ѧԱ97LZgn 2026-03-13 4/200 2026-03-14 08:37 by zhukairuo
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û