Commit ce8394e5 by Francois Gygi

Merge branch 'develop'

parents d6d57cae 00ce1b02
......@@ -41,7 +41,7 @@ class BasisMapping
mutable std::vector<std::complex<double> > sbuf, rbuf;
std::vector<int> ip_, im_;
std::vector<int> ipack_, iunpack_;
std::vector<int> ipack_, iunpack_, zvec_to_val_;
public:
......
......@@ -19,5 +19,5 @@
#include "release.h"
std::string release(void)
{
return std::string("rel1_71_1");
return std::string("rel1_71_1dev");
}
#!/bin/bash
# qbox_cs_sge.job:
# Client-server operation using one client and multiple servers
# Using SGE array jobs
# Example: 2 SGE tasks of 16 slots each
# submit with: qsub -t 1-2 -pe orte 16 qbox_cs_sge.job
#
#$ -S /bin/bash
#$ -j y
#$ -cwd
#$ -V
exe=$HOME/qb/export/rel1_71_0/src_icc/qb
. compilervars.sh intel64
. ompi-intel.sh
echo Task ID: $SGE_TASK_ID
echo Task ID First: $SGE_TASK_FIRST
echo Task ID Last:t $SGE_TASK_LAST
echo $(hostname) $SGE_TASK_ID
# Launch the client program on the first SGE task
if [ $SGE_TASK_ID -eq $SGE_TASK_FIRST ]
then
echo "Launch client program"
fi
# Launch a server program on all SGE tasks
echo "Launch server program" $SGE_TASK_ID
mpirun $exe
Task ID: 1
Task ID First: 1
Task ID Last:t 2
c32.local 1
Launch client program
Launch server program 1
<?xml version="1.0" encoding="UTF-8"?>
<fpmd:simulation xmlns:fpmd="http://www.quantum-simulation.org/ns/fpmd/fpmd-1.0">
<uuid> 38868aac-9c77-11ea-aaa9-002590a1b1d6 </uuid>
============================
I qbox rel1_71_0 I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I http://qboxcode.org I
============================
<release> rel1_71_0 presto_icc </release>
<sysname> Linux </sysname>
<nodename> c32.local </nodename>
<start_time> 2020-05-22T21:57:25Z </start_time>
<mpi_processes count="16">
<process id="0"> c32.local </process>
<process id="1"> c32.local </process>
<process id="2"> c32.local </process>
<process id="3"> c32.local </process>
<process id="4"> c32.local </process>
<process id="5"> c32.local </process>
<process id="6"> c32.local </process>
<process id="7"> c32.local </process>
<process id="8"> c34.local </process>
<process id="9"> c34.local </process>
<process id="10"> c34.local </process>
<process id="11"> c34.local </process>
<process id="12"> c34.local </process>
<process id="13"> c34.local </process>
<process id="14"> c34.local </process>
<process id="15"> c34.local </process>
</mpi_processes>
[qbox] End of command stream
<real_time> 0.51984 </real_time>
<end_time> 2020-05-22T21:57:25Z </end_time>
</fpmd:simulation>
Task ID: 2
Task ID First: 1
Task ID Last:t 2
c36.local 2
Launch server program 2
<?xml version="1.0" encoding="UTF-8"?>
<fpmd:simulation xmlns:fpmd="http://www.quantum-simulation.org/ns/fpmd/fpmd-1.0">
<uuid> 3883c218-9c77-11ea-a6b2-002590a1b1dc </uuid>
============================
I qbox rel1_71_0 I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I http://qboxcode.org I
============================
<release> rel1_71_0 presto_icc </release>
<sysname> Linux </sysname>
<nodename> c36.local </nodename>
<start_time> 2020-05-22T21:57:25Z </start_time>
<mpi_processes count="16">
<process id="0"> c36.local </process>
<process id="1"> c36.local </process>
<process id="2"> c36.local </process>
<process id="3"> c36.local </process>
<process id="4"> c36.local </process>
<process id="5"> c36.local </process>
<process id="6"> c36.local </process>
<process id="7"> c36.local </process>
<process id="8"> c12.local </process>
<process id="9"> c12.local </process>
<process id="10"> c12.local </process>
<process id="11"> c12.local </process>
<process id="12"> c12.local </process>
<process id="13"> c12.local </process>
<process id="14"> c12.local </process>
<process id="15"> c12.local </process>
</mpi_processes>
[qbox] End of command stream
<real_time> 0.577297 </real_time>
<end_time> 2020-05-22T21:57:25Z </end_time>
</fpmd:simulation>
#!/bin/bash
# qbox_cs_slurm.job:
# Client-server operation using one client and multiple servers
# Using SLURM array jobs
# Example: 2 SLURM tasks of 20 cores each
# submit with: sbatch --array=1,2 qbox_csslurm.job
#
#SBATCH --ntasks=20
#SBATCH --cpus-per-task=1
#SBATCH --exclusive
module load xerces intelmpi mkl
exe=$HOME/qb/export/rel1_71_0/src/qb
echo Task ID: $SLURM_ARRAY_TASK_ID
echo Task ID First: $SLURM_ARRAY_TASK_MIN
echo Task ID Last:t $SLURM_ARRAY_TASK_MAX
echo $(hostname) $SLURM_ARRAY_TASK_ID
# Launch the client program on the first SGE task
if [ $SLURM_ARRAY_TASK_ID -eq $SLURM_ARRAY_TASK_MIN ]
then
echo "Launch client program"
fi
# Launch a server program on all SGE tasks
echo "Launch server program" $SLURM_ARRAY_TASK_ID
mpirun $exe
Task ID: 0
Task ID First: 0
Task ID Last:t 1
midway2-0589.rcc.local 0
Launch client program
Launch server program 0
<?xml version="1.0" encoding="UTF-8"?>
<fpmd:simulation xmlns:fpmd="http://www.quantum-simulation.org/ns/fpmd/fpmd-1.0">
<uuid> e48289c4-9c76-11ea-9b70-40f2e9c9740c </uuid>
============================
I qbox rel1_71_0 I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I http://qboxcode.org I
============================
<release> rel1_71_0 midway </release>
<user> root </user>
<sysname> Linux </sysname>
<nodename> midway2-0589.rcc.local </nodename>
<start_time> 2020-05-22T21:55:04Z </start_time>
<mpi_processes count="20">
<process id="0"> midway2-0589.rcc.local </process>
<process id="1"> midway2-0589.rcc.local </process>
<process id="2"> midway2-0589.rcc.local </process>
<process id="3"> midway2-0589.rcc.local </process>
<process id="4"> midway2-0589.rcc.local </process>
<process id="5"> midway2-0589.rcc.local </process>
<process id="6"> midway2-0589.rcc.local </process>
<process id="7"> midway2-0589.rcc.local </process>
<process id="8"> midway2-0589.rcc.local </process>
<process id="9"> midway2-0589.rcc.local </process>
<process id="10"> midway2-0589.rcc.local </process>
<process id="11"> midway2-0589.rcc.local </process>
<process id="12"> midway2-0589.rcc.local </process>
<process id="13"> midway2-0589.rcc.local </process>
<process id="14"> midway2-0589.rcc.local </process>
<process id="15"> midway2-0589.rcc.local </process>
<process id="16"> midway2-0589.rcc.local </process>
<process id="17"> midway2-0589.rcc.local </process>
<process id="18"> midway2-0589.rcc.local </process>
<process id="19"> midway2-0589.rcc.local </process>
</mpi_processes>
[qbox] End of command stream
<real_time> 0.19389 </real_time>
<end_time> 2020-05-22T21:55:04Z </end_time>
</fpmd:simulation>
Task ID: 1
Task ID First: 0
Task ID Last:t 1
midway2-0590.rcc.local 1
Launch server program 1
<?xml version="1.0" encoding="UTF-8"?>
<fpmd:simulation xmlns:fpmd="http://www.quantum-simulation.org/ns/fpmd/fpmd-1.0">
<uuid> e47aae70-9c76-11ea-9a66-40f2e9c97496 </uuid>
============================
I qbox rel1_71_0 I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I I
I http://qboxcode.org I
============================
<release> rel1_71_0 midway </release>
<user> root </user>
<sysname> Linux </sysname>
<nodename> midway2-0590.rcc.local </nodename>
<start_time> 2020-05-22T21:55:04Z </start_time>
<mpi_processes count="20">
<process id="0"> midway2-0590.rcc.local </process>
<process id="1"> midway2-0590.rcc.local </process>
<process id="2"> midway2-0590.rcc.local </process>
<process id="3"> midway2-0590.rcc.local </process>
<process id="4"> midway2-0590.rcc.local </process>
<process id="5"> midway2-0590.rcc.local </process>
<process id="6"> midway2-0590.rcc.local </process>
<process id="7"> midway2-0590.rcc.local </process>
<process id="8"> midway2-0590.rcc.local </process>
<process id="9"> midway2-0590.rcc.local </process>
<process id="10"> midway2-0590.rcc.local </process>
<process id="11"> midway2-0590.rcc.local </process>
<process id="12"> midway2-0590.rcc.local </process>
<process id="13"> midway2-0590.rcc.local </process>
<process id="14"> midway2-0590.rcc.local </process>
<process id="15"> midway2-0590.rcc.local </process>
<process id="16"> midway2-0590.rcc.local </process>
<process id="17"> midway2-0590.rcc.local </process>
<process id="18"> midway2-0590.rcc.local </process>
<process id="19"> midway2-0590.rcc.local </process>
</mpi_processes>
[qbox] End of command stream
<real_time> 0.174775 </real_time>
<end_time> 2020-05-22T21:55:04Z </end_time>
</fpmd:simulation>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment