I'm trying to compile the parallel (MPI) c32a1 version on an SGI Altix using the ifort compiler. I succesfully compiled and linked (only after removing the -Lmpi option, leaving only -lmpi option). However, CHARMM isn't running correctly. It seems like all nodes try access files that are read, and are not synchronized. After getting warnings of the kind

CHARMM> open read unit 13 formatted name @WatSB30
OPNLGU> Unit already open. The old file will be closed first.
OPNLGU> ***** WARNING ***** another unit is already
assigned to the file - it will be disconnected first.
...

CHARMM exits with error:

MPI: On host altix6.msi.umn.edu, Program /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi, Rank 1, Process 14029 received signal SIGSEGV(11)


MPI: --------stack traceback-------
Source file not found or not readable, tried...
./../sysdeps/unix/sysv/linux/waitpid.c
/adm/altb/majordt/charmm/c32a1_mpi/exec/altix/../sysdeps/unix/sysv/linux/waitpid.c
./waitpid.c
/adm/altb/majordt/charmm/c32a1_mpi/exec/altix/waitpid.c
(Cannot find source file ../sysdeps/unix/sysv/linux/waitpid.c)
MPI: Linux Application Debugger for Itanium(R)-based applications, Version 8.1-6, Build 20041117
MPI: Reading symbolic information from /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi...No debugging symbols found
MPI: Attached to process id 14029 ....
MPI: stopped at [__pid_t __libc_waitpid(__pid_t, int*, int):32 0x20000000020d19c1]
MPI: >0 0x20000000020d19c1 in __libc_waitpid(pid=14032, stat_loc=0x60000fffffff60c0, options=0) "../sysdeps/unix/sysv/linux/waitpid.c":32
MPI: #1 0x20000000000e3430 in mpi_sgi_system(...) in /usr/lib/libmpi.so
MPI: #2 0x20000000000e3920 in first_arriver_handler(...) in /usr/lib/libmpi.so
MPI: #3 0x20000000000e3270 in slave_sig_handler(...) in /usr/lib/libmpi.so
MPI: #4 0xa0000000000040c0
MPI: #5 0x4000000000a7ff81 in nbondg_(...) in /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi
MPI: #6 0x40000000009c8b70 in nbonds_(...) in /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi
MPI: #7 0x40000000003e9db0 in update_(...) in /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi
MPI: #8 0x4000000000007b50 in maincom_(...) in /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi
MPI: #9 0x4000000000006b50 in MAIN__(...) in /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi
MPI: #10 0x4000000000005350 in main(...) in /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi
MPI: #11 0x2000000001fb2990 in __libc_start_main(main=0x400000000111fe10, argc=1, ubp_av=0x60000fffffff9a68, init=0x2000000002188200, fini=0x2000000002188200, rtld_fini=0x20000000000e3430, stack_end=0xc000000000000288) "../sysdeps/generic/libc-start.c":205

MPI: -----stack traceback ends-----
MPI: On host altix6.msi.umn.edu, Program /adm/altb/majordt/charmm/c32a1_mpi/exec/altix/charmm_mpi, Rank 1, Process 14029: Dumping core on signal SIGSEGV(11) into directory /adm/altb/majordt/charmm/workspace/alarm/ltod/wrk
MPI: MPI_COMM_WORLD rank 1 has terminated without calling MPI_Finalize()
MPI: aborting job
MPI: Received signal 11

Thanks for any help,
Dan