Here is the results with MPITest.bf:
Code:[tristan@babylon HYPHY_Source] mpirun -np 4 ./HYPHYMPI BatchFiles/MPITest.bf
Running a HYPHY-MPI test
Detected 4 computational nodes
Polling slave nodes...
Polling node 2...
OK
Polling node 3...
OK
Polling node 4...
OK
Measuring simple job send/receieve throughput...
Node 2 sent/received 8072.2 batch jobs per second
Node 3 sent/received 9841 batch jobs per second
Node 4 sent/received 10086.4 batch jobs per second
Measuring relative computational performance...
Master node reference index: 1304509
Slave node 1 index: 1367370. 104.82% relative to the master
Slave node 2 index: 1368910. 104.94% relative to the master
Slave node 3 index: 1352810. 103.70% relative to the master
Then I tried to compile with SP with the -fast and -m64 flags, but:
Code:[tristan@babylon HYPHY_Source] ./build_mod2.sh SP
Linux
Checking for curl
Curl seems to be present
COMPILER=g++, gcc
COMPILER_FLAGS= -w -c -fast -m64 -fsigned-char -O3 -fpermissive -I/home/tristan/tmp/HYPHY_Source/Source -I/home/tristan/tmp/HYPHY_Source/Source/SQLite
+--------------------------------------+
|Building a single threaded HYPHYKernel|
+--------------------------------------+
Building baseobj.cpp
cc1plus: error: unrecognized command line option "-fast"
Error during compilation
Something interesting is that with MP, with the flag CPU=1, one cpu will be used at 100%, while with CPU>1, a single cpu is still used but this time at 120% (which speed up the computation: 31 -> 22s).
By the way, regarding MPI, why the 4 cpus are used at 100% with speedtest since only one is necessary?
I'am afraid I'm lost... thanks Sergei and sorry for all these questions. My aim is to convert a pipeline that test recombination and positive selection at the genome scale to hyphy. Today the pipeline use many different programs (phyml, phypack, paml,...). It seems that with hyphy, most of the pipeline might be summarized in a single batch file and would furthermore be deployed easily on a cluster.
Tristan