> I'm not quite sure what you're saying -- is it working or not? If
> it's not working, what, exactly, is happening? (please be as precise
> as possible)
>
> Also -- is there any reason you're using the explicit gcc line and
> not the mpicc wrapper compiler?
Easy, i not speak english. I'm going try to explain.
I work on a cluster with 8 PC nodes. And i can't run 1 application with thread and MPI.
**********
ON CLUSTER
**********
Linux version 2.4.29-1smp (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5))
LAM/MPI: 7.1.1
Thread support: yes
SSI cr: blcr (API v1.0, Module v1.1)
SSI cr: self (API v1.0, Module v1.0)
mpicc mpi_helo_thread.c -o helo_thread -showme
gcc -I/opt/lam-7.1.1/include -pthread mpi_helo_thread.c -o helo_thread -ldl -lpthread -L/lib
-L/opt/lam-7.1.1/lib -llammpio -llamf77mpi -lmpi -llam -laio -laio -lutil -lcr -ldl
-> No error or warning reported, when compiling. Pay attention for duplicated -l (-ldl -laio)
When i run it, it freeze for ever, just before pthread_create()
So, i try the same code on my single machine.
********
MY HOME
********
Linux version 2.6.10-5-386 (gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2))
LAM/MPI: 7.1.1
Thread support: yes
-> NO blcr
SSI cr: self (API v1.0, Module v1.0)
mpicc mpi_helo_thread.c -o hello_thread -showme
gcc -I/usr/lam7.1.1/include -pthread mpi_helo_thread.c -o hello_thread -L/usr/lam7.1.1/lib -llammpio
-llamf77mpi -lmpi -llam -lutil -ldl
This work fine, no errors, no freeze
What i need fix on CLUSTER? And how? I not try beta 31 yet.
Tanks
Fabio
|