compile errors with MM5

I have been trying to compile the parallel version of MM5 on a Scyld Linux cluster with PG6.1. I keep getting this error. Any help would be appreciated.


…/usr/MPICH/bin/mpif90 -o mm5.mpp addall.o addrx1c.o addrx1n.o bdyin.o bdyrst.o bdyten.o bdyval.o cadjmx.o coef_diffu.o condload.o consat.o convad.o couple.o date.o dcpl3d.o dcpl3dwnd.o decouple.o define_comms.o diffu.o diffth.o diffthd.o diffmoi.o diffintp.o dm_io.o dots.o dtfrz.o fillcrs.o fkill_model.o gamma.o gauss.o hadv.o init.o initsav.o initts.o kfbmdata.o kill_model.o lb_alg.o lbdyin.o mhz.o mm5.o mp_equate.o mp_initdomain.o mp_shemi.o mparrcopy.o mpaspect.o nconvp.o nudge.o output.o outsav.o outtap.o outts.o outts_c.o param.o paramr.o rdinit.o rho_mlt.o savread.o settbl.o setvegfr.o sfcrad.o shutdo.o slab.o solar1.o solve.o sound.o subch.o trans.o transm.o upshot_mm5.o vadv.o vadv2.o vecgath.o write_big_header.o write_fieldrec.o write_flag.o exmoiss.o cup.o cupara3.o maximi.o minimi.o mrfpbl.o tridi2.o initnest.o chknst.o nstlev1.o nstlev2.o nstlev3.o nstlev4.o nstlev5.o mp_stotndt.o smt2.o bcast_size.o merge_size.o mp_feedbk.o rdter.o lwrad.o swrad.o milliclock.o …/…/MPP/RSL/RSL/librsl.a -O2 -Mcray=pointer -tp p6 -pc 32 -Mnoframe -byteswapio -L/usr/MPICH/lib -lfmpich -lmpich
/usr/MPICH/lib/libmpich.a(p4_utils.o)(.text+0x1ca1): In function p4_usclock': : undefined reference to __mth_i_dfloatux’
/usr/MPICH/lib/libmpich.a(p4_utils.o)(.text+0x1cb7): In function p4_usclock': : undefined reference to __mth_i_dfloatux’
/usr/MPICH/lib/libmpich.a(p4_utils.o)(.text+0x1ccf): In function p4_usclock': : undefined reference to __mth_i_dfloatux’
make[1]: [all] Error 2 (ignored)
/bin/mv mm5.mpp …/…/Run/mm5.mpp
/bin/mv: cannot stat mm5.mpp': No such file or directory make[1]: [all] Error 1 (ignored) make[1]: Leaving directory /home/lll/mm5/MM5/MPP/build’
[len@scyld MM5]$

I think those are from the SSE code. Try linking with the -fastsse flag.

Hi eeep,

Chris is correct that these symbols are the PGI SSE2 math functions. To fix, you need to either remove the “-tp p6” flag from your MM5 compilation or add it to your MPICH compilation. “-tp p6” tells the compiler to target a 32-bit Pentium III system which does not support SSE2.

Hope this helps,
Mat

Thanks, I wasn’t sure if anyone would respond to my question. I have since been able to generate my mm5.mpp executable. Removing the -tp p6 was certainly one of the problems.

However, I am having this problem now. When I run the mm5.mpp executable it quits immediately. In the rsl.out.0000 file I see this:

[eeep@scyld Run]$ more rsl.out.0000
*************** MULTI LEVEL RUN!!! ***************
*************** 2 DOMAIN TOTAL ***************
p0_10027: p4_error: interrupt SIGSEGV: 11
[eeep@scyld Run]$

I ran STRACE (#strace -o strace.out ./mpirun -all-local ./mm5.mpp)
And it generated below: Any ideas?

execve("./mm5.deck", ["./mm5.deck"], [/* 55 vars */]) = 0

uname({sys=“Linux”, node=“localhost.localdomain”, …}) = 0

brk(0) = 0x9dff000

open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/pgi/linux86/6.0/lib/tls/i686/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/i686/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/i686/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/i686/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/i686/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/mmx/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/libtermcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“tls/i686/mmx/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“tls/i686/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“tls/mmx/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“tls/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“i686/mmx/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“i686/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“mmx/libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open(“libtermcap.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b10, 0, 0, 0) = -1 EINVAL (Invalid argument)

open("/etc/ld.so.cache", O_RDONLY) = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=78442, …}) = 0

old_mmap(NULL, 78442, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb75e4000

close(3) = 0

open("/lib/libtermcap.so.2", O_RDONLY) = 3

read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\r\0”…, 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=11752, …}) = 0

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75e3000

old_mmap(NULL, 14824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4f0000

old_mmap(0x4f3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4f3000

close(3) = 0

open("/usr/pgi/linux86/6.0/lib/tls/i686/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/i686/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/i686/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/i686/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/mmx/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/i686/mmx/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/i686/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/mmx/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“i686/mmx/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“i686/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“mmx/libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“libdl.so.2”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9b00, 0x8, 0x15, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/lib/libdl.so.2", O_RDONLY) = 3

read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\32”…, 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=13601, …}) = 0

old_mmap(NULL, 12244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x157000

old_mmap(0x159000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x159000

close(3) = 0

open("/usr/pgi/linux86/6.0/lib/tls/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.0/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/usr/pgi/linux86/6.1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/i686/mmx/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/i686/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/mmx/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“tls/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“i686/mmx/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“i686/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“mmx/libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open(“libc.so.6”, O_RDONLY) = -1 ENOENT (No such file or directory)

security(0x305, 0xbfff9ae0, 0x3, 0x10, 0x7ed518) = -1 EINVAL (Invalid argument)

open("/lib/tls/libc.so.6", O_RDONLY) = 3

read(3, “\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200X\1”…, 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=1516871, …}) = 0

old_mmap(NULL, 1280524, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x569000

old_mmap(0x69c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x132000) = 0x69c000

old_mmap(0x69f000, 10764, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x69f000

close(3) = 0

old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75e2000

set_thread_area({entry_number:-1 -> 6, base_addr:0xb75e2080, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0

munmap(0xb75e4000, 78442) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3

close(3) = 0

brk(0) = 0x9dff000

brk(0x9e20000) = 0x9e20000

brk(0) = 0x9e20000

open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=32148976, …}) = 0

mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb73e2000

close(3) = 0

getuid32() = 500

getgid32() = 500

geteuid32() = 500

getegid32() = 500

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

time(NULL) = 1150843907

open("/etc/mtab", O_RDONLY) = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=184, …}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73e1000

read(3, “/dev/hda2 / ext3 rw 0 0\nnone /pr”…, 4096) = 184

close(3) = 0

munmap(0xb73e1000, 4096) = 0

open("/proc/meminfo", O_RDONLY) = 3

fstat64(3, {st_mode=S_IFREG|0444, st_size=0, …}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73e1000

read(3, " total: used: free:"…, 4096) = 782

close(3) = 0

munmap(0xb73e1000, 4096) = 0

rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0

rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0

uname({sys=“Linux”, node=“localhost.localdomain”, …}) = 0

stat64("/home/len/mm5/MM5", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

getpid() = 2597

getppid() = 2596

getpgrp() = 2596

rt_sigaction(SIGCHLD, {0x8074ff0, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

open("./mm5.deck", O_RDONLY|O_LARGEFILE) = 3

ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffa258) = -1 ENOTTY (Inappropriate ioctl for device)

_llseek(3, 0, [0], SEEK_CUR) = 0

read(3, "#!/bin/sh\n#\n# Version 3 of mm5 "…, 80) = 80

_llseek(3, 0, [0], SEEK_SET) = 0

getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0

dup2(3, 255) = 255

close(3) = 0

fcntl64(255, F_SETFD, FD_CLOEXEC) = 0

fcntl64(255, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)

fstat64(255, {st_mode=S_IFREG|0775, st_size=18180, …}) = 0

_llseek(255, 0, [0], SEEK_CUR) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, "#!/bin/sh\n#\n# Version 3 of mm5 "…, 8192) = 8192

open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=21436, …}) = 0

mmap2(NULL, 21436, PROT_READ, MAP_SHARED, 3, 0) = 0xb73dc000

close(3) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

umask(022) = 02

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/usr/local/ncarg/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.1/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/kerberos/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/bin/cat", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/bin/cat", {st_mode=S_IFREG|0755, st_size=14684, …}) = 0

getgroups32(32, [500]) = 1

stat64("/bin/cat", {st_mode=S_IFREG|0755, st_size=14684, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -4880, [3312], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2598

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2598

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “cat > ./Run/lparam << EOF\n &LPAR”…, 8192) = 8192

stat64("/bin/cat", {st_mode=S_IFREG|0755, st_size=14684, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -3786, [7718], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2599

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2599

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “cat > ./Run/nparam << EOF\n &NPAR”…, 8192) = 8192

stat64("/bin/cat", {st_mode=S_IFREG|0755, st_size=14684, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -5513, [10397], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2600

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2600

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “cat > ./Run/pparam << EOF\n &PPAR”…, 8192) = 7783

stat64("/bin/cat", {st_mode=S_IFREG|0755, st_size=14684, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -7154, [11026], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2601

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2601

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “cat > ./Run/fparam << EOF\n &FPAR”…, 8192) = 7154

stat64("/bin/cat", {st_mode=S_IFREG|0755, st_size=14684, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -555, [17625], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2602

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2602

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “#\n#-----------------------------”…, 8192) = 555

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/usr/local/ncarg/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.1/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/kerberos/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/bin/make", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/bin/make", {st_mode=S_IFREG|0755, st_size=124476, …}) = 0

stat64("/usr/bin/make", {st_mode=S_IFREG|0755, st_size=124476, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -405, [17775], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2603

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2603

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, 0xbfff9e64, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “cd ./Run\nsed -f …/Util/no_comme”…, 8192) = 405

stat64("/home", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/home/len", {st_mode=S_IFDIR|0700, st_size=4096, …}) = 0

stat64("/home/len/mm5", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/home/len/mm5/MM5", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/home/len/mm5/MM5/Run", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

chdir("/home/len/mm5/MM5/Run") = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

pipe([3, 4]) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0

_llseek(255, -329, [17851], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2630

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

close(4) = 0

close(4) = -1 EBADF (Bad file descriptor)

rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2631

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

close(3) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2631

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 2630

rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

close(3) = -1 EBADF (Bad file descriptor)

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, 0xbfff9e14, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “mv mmlif.tmp mmlif\nrm fparam lpa”…, 8192) = 329

stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/usr/local/ncarg/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.1/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/kerberos/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/bin/mv", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/bin/mv", {st_mode=S_IFREG|0755, st_size=51892, …}) = 0

stat64("/bin/mv", {st_mode=S_IFREG|0755, st_size=51892, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -310, [17870], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2632

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2632

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “rm fparam lparam nparam oparam p”…, 8192) = 310

stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

stat64("/usr/local/ncarg/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.1/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/ncarg/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/pgi/linux86/6.0/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/kerberos/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/local/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/usr/bin/rm", 0xbfffa0d0) = -1 ENOENT (No such file or directory)

stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=26620, …}) = 0

stat64("/bin/rm", {st_mode=S_IFREG|0755, st_size=26620, …}) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

_llseek(255, -272, [17908], SEEK_CUR) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2633

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 2633

waitpid(-1, 0xbfff9da4, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “#\n#-----------------------------”…, 8192) = 272

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

rt_sigprocmask(SIG_BLOCK, [INT CHLD], , 8) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb75e20c8) = 2634

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0

rt_sigaction(SIGINT, {0x8074070, , SA_RESTORER, 0x5910d8}, {SIG_DFL}, 8) = 0

waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 2634

rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0

— SIGCHLD (Child exited) @ 0 (0) —

waitpid(-1, 0xbfff9e64, WNOHANG) = -1 ECHILD (No child processes)

sigreturn() = ? (mask now )

rt_sigaction(SIGINT, {SIG_DFL}, {0x8074070, , SA_RESTORER, 0x5910d8}, 8) = 0

rt_sigprocmask(SIG_BLOCK, NULL, , 8) = 0

read(255, “”, 8192) = 0

exit_group(1) = ?

Hi eeep,

Typically MM5 will segv due to a stack overflow or, in 64-bits only, if “-DDEC_ALPHA” is not used as a compilation flag. In your default environment, i.e “.cshrc”, “.bashrc”, etc., set your stack size limit to unlimited.

csh: “unlimit”
bash: “ulimit -s unlimted”

Hope this helps,
Mat

Now I am getting this error:

If I run MM5.MPP with the mm5.deck file, I get this;

[eeep@scyld MM5]$ ./mm5.deck
(cd Run; make -i -r mmlif);
make[1]: Entering directory /home/eeep/mm5/MM5/Run' cat < oparam > mmlif cat < lparam >> mmlif echo " IFRAD = echo “2,0,0,0,0”|cut -d, -f1,">>mmlif echo " ICUPA = "3,3,1,1,1,1,1,1,1,1",">>mmlif echo " IMPHYS = "4,4,1,1,1,1,1,1,1,1" ,">>mmlif echo " IBLTYP = "5,5,0,0,0,0,0,0,0,0",">>mmlif echo " ISHALLO = "0,0,0,0,0,0,0,0,0,0",">>mmlif echo " IPOLAR = ,">>mmlif echo " ISOIL = 1,">>mmlif if [ ""linux"" = "IBM" ]; then \ echo " / ">>mmlif; \ elif [ ""linux"" = "sp2" ]; then \ echo " / ">>mmlif; \ elif [ ""linux"" = "macxlf" ]; then \ echo " / ">>mmlif; \ elif [ ""linux"" = "HP" ]; then \ echo ' $END '>>mmlif; \ else \ echo " &END ">>mmlif; \ fi; cat < nparam >> mmlif cat < pparam >> mmlif cat < fparam >> mmlif make[1]: Leaving directory /home/len/mm5/MM5/Run’
Trying krb4 rcp…
trying normal rcp (/usr/bin/rcp)
master: Connection refused
/home/eeep/mm5/MM5/Run/./mm5.mpp: error while loading shared libraries: libpgc.so: cannot open shared object file: No such file or directory
/bin/rm: cannot remove `/tmp/PI1800’: No such file or directory
[eeep@scyld MM5]$

You need to set your environment variable “LD_LIBRARY_PATH” to the location of the PGI runtime libraries.

For example:

export LD_LIBRARY_PATH=/usr/pgi/linux86/6.1/libso
  • Mat