Skip to Content.
Sympa Menu

charm - [charm] help

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] help


Chronological Thread 
  • From: Kowsar Khajeh <khajeh.k.2005 AT gmail.com>
  • To: charm AT cs.illinois.edu
  • Subject: [charm] help
  • Date: Wed, 21 Nov 2018 23:12:46 +0900
  • Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=khajeh.k.2005 AT gmail.com; dkim=pass header.d=gmail.com header.s=20161025; dmarc=pass header.from=gmail.com

Hello dear NAMD developers
I tried to compile NAMD source code, however I recieved below error and the process has stopped working.
machine.c: In function ‘machine_exit’:
machine.c:327:3: warning: implicit declaration of function ‘EmergencyExit’ [-Wimplicit-function-declaration]
   EmergencyExit();
   ^~~~~~~~~~~~~
machine.c: At top level:
machine.c:865:1: warning: data definition has no type or storage class
 _Cmi_myrank=0;
 ^~~~~~~~~~~
machine.c:865:1: warning: type defaults to ‘int’ in declaration of ‘_Cmi_myrank’ [-Wimplicit-int]
In file included from machine.c:1397:0:
machine-dgram.c:20:10: fatal error: infiniband/verbs.h: No such file or directory
 #include <infiniband/verbs.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Fatal Error by charmc in directory /home/kosar/Documents/NAMD_2.13_Source/charm-6.8.2/verbs-linux-x86_64/tmp
   Command gcc -DCMK_GFORTRAN -I../bin/../include -D__CHARMC__=1 -I. -DFOR_CPLUS=1 -O2 -U_FORTIFY_SOURCE -fno-stack-protector -c machine.c -o machine.o returned error code 1
charmc exiting...
Makefile:468: recipe for target '../lib/libconv-cplus-n.a' failed
make: *** [../lib/libconv-cplus-n.a] Error 1
-------------------------------------------------
Charm++ NOT BUILT. Either cd into verbs-linux-x86_64/tmp and try
to resolve the problems yourself, visit
http://charm.cs.illinois.edu/
for more information. Otherwise, email the developers at charm AT cs.illinois.edu
I was in below step;
Build and test the Charm++/Converse library (single-node multicore version):
  cd charm-6.8.2
  ./build charm++ multicore-linux-x86_64 --with-production
  cd multicore-linux-x86_64/tests/charm++/megatest
  make pgm
  ./pgm +p4   (multicore does not support multiple nodes)
  cd ../../../../..

Build and test the Charm++/Converse library (ethernet version):
  cd charm-6.8.2
  ./build charm++ netlrts-linux-x86_64 --with-production
  cd netlrts-linux-x86_64/tests/charm++/megatest
  make pgm
  ./charmrun ++local +p4 ./pgm   (forks processes on local node)
  cd ../../../../..

Build and test the Charm++/Converse library (InfiniBand version):
  cd charm-6.8.2
  ./build charm++ verbs-linux-x86_64 --with-production
I did not understand what was the problem. I have google it. maybe the space was not enough on my drive! I was trying to install it on virtual linux!
Thank you for consideration.
Best
Kosar


  • [charm] help, Kowsar Khajeh, 11/21/2018

Archive powered by MHonArc 2.6.19.

Top of Page