Hi team,

I am trying to build Chapel on an Infiniband cluster with slurm  but I keep 
getting these errors:


launch-slurm-gasnetrun_ibv.c: In function 'genNumLocalesOptions':
launch-slurm-gasnetrun_ibv.c:121:3: error: enumeration value 'slurmpro' not 
handled in switch [-Werror=switch]
   switch (sbatch) {
   ^
launch-slurm-gasnetrun_ibv.c:121:3: error: enumeration value 'nccs' not handled 
in switch [-Werror=switch]
launch-slurm-gasnetrun_ibv.c:121:3: error: enumeration value 'uma' not handled 
in switch [-Werror=switch]
launch-slurm-gasnetrun_ibv.c:121:3: error: enumeration value 'unknown' not 
handled in switch [-Werror=switch]
launch-slurm-gasnetrun_ibv.c:111:9: error: unused variable 'queue' 
[-Werror=unused-variable]
   char* queue = getenv("CHPL_LAUNCHER_QUEUE");
         ^
launch-slurm-gasnetrun_ibv.c: In function 'chpl_launch_create_command':
launch-slurm-gasnetrun_ibv.c:215:23: error: too many arguments for format 
[-Werror=format-extra-args]
   fprintf(expectFile, "--ntasks-per-node=1 ",numLocales);

For my experiments I need TASKS=fifo and LOCALE_MODEL=flat.
Am I missing something??


Thanks,

Konstantina



Here is my chplenv:


$ util/printchplenv
CHPL_HOST_PLATFORM: linux64 *
CHPL_HOST_COMPILER: gnu
CHPL_TARGET_PLATFORM: linux64
CHPL_TARGET_COMPILER: gnu *
CHPL_TARGET_ARCH: k8 *   (same errors when set to "native")
CHPL_LOCALE_MODEL: flat
CHPL_COMM: gasnet *
  CHPL_COMM_SUBSTRATE: ibv *
  CHPL_GASNET_SEGMENT: large
CHPL_TASKS: fifo *
CHPL_LAUNCHER: slurm-gasnetrun_ibv *
CHPL_TIMERS: generic
CHPL_MEM: dlmalloc
CHPL_MAKE: gmake
CHPL_ATOMICS: intrinsics
  CHPL_NETWORK_ATOMICS: none
CHPL_GMP: gmp
CHPL_HWLOC: none
CHPL_REGEXP: re2
CHPL_WIDE_POINTERS: struct
CHPL_LLVM: none
CHPL_AUX_FILESYS: none



I set TARGET_ARCH to k8 (though it is an opteron) because of this:

https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/i386-and-x86-64-Options.html

'k8' 'opteron' 'athlon64' 'athlon-fx'
Processors based on the AMD K8 core with x86-64 instruction set support, 
including the AMD Opteron, Athlon 64, and Athlon 64 FX processors. (This 
supersets MMX, SSE, SSE2, 3DNow!, enhanced 3DNow! and 64-bit instruction set 
extensions.)


and the cpu spec:

$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          2
Vendor ID:             AuthenticAMD
CPU family:            21
Model:                 2
Stepping:              0
CPU MHz:               1400.000
BogoMIPS:              5600.37
Virtualization:        AMD-V
L1d cache:             16K
L1i cache:             64K
L2 cache:              2048K
L3 cache:              6144K
NUMA node0 CPU(s):     0-3
NUMA node1 CPU(s):     4-7








------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to