Skip to Content.
Sympa Menu

charm - RE: [charm] help

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

RE: [charm] help


Chronological Thread 
  • From: "Choi, Jaemin" <jchoi157 AT illinois.edu>
  • To: Kowsar Khajeh <khajeh.k.2005 AT gmail.com>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: RE: [charm] help
  • Date: Wed, 28 Nov 2018 05:48:49 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=jchoi157 AT illinois.edu; dmarc=pass header.from=illinois.edu

Hi Kosar,

The reason that the Infiniband version of Charm++ won't build inside your VM is most likely because it does not have an Infiniband network adapter.
It is meant to be built on clusters/supercomputers with the Infiniband interconnect (and supports the Verbs API).

Please let us know if you have more questions.

Regards,

Jaemin Choi
Ph.D. Candidate in Computer Science
Research Assistant, Parallel Programming Laboratory
University of Illinois Urbana-Champaign

From: Kowsar Khajeh [khajeh.k.2005 AT gmail.com]
Sent: Wednesday, November 21, 2018 8:12 AM
To: charm AT cs.illinois.edu
Subject: [charm] help

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
    • RE: [charm] help, Choi, Jaemin, 11/27/2018

Archive powered by MHonArc 2.6.19.

Top of Page