y**b 发帖数: 10166 | 1 原来在GCC和OpenMPI(以及BOOST)环境下编译和运行正常的程序,在intel-compilers
和inte-mpi(以及BOOST)环境下,编译没问题,一运行就Hangup(signal 1),也没有
其他提示。这可能是什么原因呢?
makfile里面只做了简单改动:
编译器由mpic++换成mpiicpc
openmp选项由-fopenmp换成-openmp
BOOST都是自己编译的。
是不是还有其他重要东西没注意到? | z*w 发帖数: 45 | 2 Intel® MPI Library 4.1 Getting Started Guide for Linux* OS
Quick Start
Source the mpivars.[c]sh script to establish the proper environment settings
for the Intel® MPI Library. It is located in the //
bin directory, where refers to the Intel MPI Library
installation directory (for example, /opt/intel/impi) and is one of
the following architectures:
ia32 - IA-32 architecture binaries
intel64 - Intel® 64 architecture binaries.
Create a hostfile text file that lists the nodes in the cluster using one
host name per line.
(SDK only) Make sure you have a compiler in your PATH. To find the path to
your compiler, run the which command on the desired compiler. For example:
$ which icc
/opt/intel/composerxe-2011/bin/intel64/icc
(SDK only) Compile a test program using the appropriate compiler driver. For
example:
$ mpiicc -o myprog /test/test.c
Execute the test using the mpirun command.
$ mpirun -n <# of processes> -f ./hostfile ./myprog
See the rest of this document and the Intel® MPI Library Reference
Manual for more details |
|