Re: Compilation of Charm++ then NAMD 2.6 on Opteron with Portland compilers

From: Philip Peartree (p.peartree_at_postgrad.manchester.ac.uk)
Date: Wed Dec 12 2007 - 15:22:14 CST

An update...

I tried adding mcmodel=medium to the compiler flags... not much useful tbh!!! I then read on the wiki (should have checked first!!) that inserting CMK_THREADS_USE_CONTEXT 1 into conv-mach.h can help with the segfault problem... a recompile later and :

Megatest is running on 4 processors.
test 0: initiated [groupring (milind)]
test 0: completed (34.93 sec)
test 1: initiated [nodering (milind)]
test 1: completed (33.97 sec)
test 2: initiated [varsizetest (mjlang)]
test 2: completed (0.01 sec)
test 3: initiated [varraystest (milind)]
test 3: completed (0.00 sec)
test 4: initiated [groupcast (mjlang)]
test 4: completed (0.85 sec)
test 5: initiated [nodecast (milind)]
test 5: completed (0.76 sec)
test 6: initiated [synctest (mjlang)]
test 6: completed (24.03 sec)
test 7: initiated [fib (jackie)]
test 7: completed (2.19 sec)
test 8: initiated [arrayring (fang)]
test 8: completed (40.33 sec)
test 9: initiated [tempotest (fang)]
test 9: completed (0.94 sec)
test 10: initiated [packtest (fang)]
test 10: completed (0.51 sec)
test 11: initiated [queens (jackie)]
test 11: completed (5.30 sec)
test 12: initiated [migration (jackie)]
test 12: completed (1.03 sec)
test 13: initiated [marshall (olawlor)]
test 13: completed (2.83 sec)
test 14: initiated [priomsg (fang)]
test 14: completed (0.12 sec)
test 15: initiated [priotest (mlind)]
test 15: completed (0.00 sec)
test 16: initiated [rotest (milind)]
test 16: completed (0.22 sec)
test 17: initiated [statistics (olawlor)]
test 17: completed (0.00 sec)
test 18: initiated [templates (milind)]
test 18: completed (0.46 sec)
test 19: initiated [inherit (olawlor)]
test 19: completed (0.93 sec)
test 20: initiated [reduction (olawlor)]
test 20: completed (0.32 sec)
test 21: initiated [callback (olawlor)]
test 21: completed (1.45 sec)
test 22: initiated [immediatering (gengbin)]
test 22: completed (349.74 sec)
test 23: initiated [bitvector (jbooth)]
test 23: completed (0.00 sec)
test 24: initiated [multi groupring (milind)]
test 24: completed (60.52 sec)
test 25: initiated [multi nodering (milind)]
test 25: completed (56.36 sec)
test 26: initiated [multi varsizetest (mjlang)]
test 26: completed (0.59 sec)
test 27: initiated [multi varraystest (milind)]
test 27: completed (0.33 sec)
test 28: initiated [multi groupcast (mjlang)]
test 28: completed (1.16 sec)
test 29: initiated [multi nodecast (milind)]
test 29: completed (1.15 sec)
test 30: initiated [multi synctest (mjlang)]
test 30: completed (30.20 sec)
test 31: initiated [multi fib (jackie)]
test 31: completed (4.87 sec)
test 32: initiated [multi arrayring (fang)]
test 32: completed (65.44 sec)
test 33: initiated [multi tempotest (fang)]
test 33: completed (2.33 sec)
test 34: initiated [multi packtest (fang)]
test 34: completed (0.70 sec)
test 35: initiated [multi migration (jackie)]
test 35: completed (2.32 sec)
test 36: initiated [multi marshall (olawlor)]
test 36: completed (3.36 sec)
test 37: initiated [multi priomsg (fang)]
test 37: completed (0.51 sec)
test 38: initiated [multi priotest (mlind)]
test 38: completed (0.34 sec)
test 39: initiated [multi statistics (olawlor)]
test 39: completed (0.00 sec)
test 40: initiated [multi reduction (olawlor)]
test 40: completed (1.25 sec)
test 41: initiated [multi callback (olawlor)]
test 41: completed (2.03 sec)
test 42: initiated [multi immediatering (gengbin)]
test 42: completed (603.11 sec)
test 43: initiated [all-at-once]
test 43: completed (359.45 sec)
All tests completed, exiting
End of program

I don't know how these times compare but I'm running opteron 1.8/2 Ghz (not sure which ones are in the node I ran on) with GigE interconnect

Philip Peartree

----- Original Message -----
From: "Philip Peartree" <p.peartree_at_postgrad.manchester.ac.uk>
To: namd-l_at_ks.uiuc.edu
Sent: 12 December 2007 15:20:23 o'clock (GMT) Europe/London
Subject: namd-l: Compilation of Charm++ then NAMD 2.6 on Opteron with Portland compilers

Hi,

I'm having some issues compiling Charm++/NAMD on our opteron based cluster. I've read somewhere that it is best to use the fastest compiler. I think I've just about got Charm++ working, and it works fine with the simplearrayhello, and I've compiled the megatest program.. the only error I got was an error from pgCC saying that -rdynamic is an unknown switch. If I run on 4 procs I get the following output:

Megatest is running on 4 processors.
test 0: initiated [groupring (milind)]
test 0: completed (45.86 sec)
test 1: initiated [nodering (milind)]
test 1: completed (45.36 sec)
test 2: initiated [varsizetest (mjlang)]
test 2: completed (0.27 sec)
test 3: initiated [varraystest (milind)]
test 3: completed (0.32 sec)
test 4: initiated [groupcast (mjlang)]
test 4: completed (1.57 sec)
test 5: initiated [nodecast (milind)]
test 5: completed (0.96 sec)
test 6: initiated [synctest (mjlang)]
**ERROR: in routine alloca() there is a
stack overflow: thread 0, max 535822332KB, used 2KB, request -1082359024B

Could anyone elaborate on what's wrong here, I heard that the Megatest program tests things that are fairly crucial to NAMD's running?

Philip Peartree

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:45:41 CST