[parsec-users] General build failure

Christian Bienia cbienia at CS.Princeton.EDU
Sat Jun 27 01:00:24 EDT 2009


You need to adapt the build configuration of PARSEC. To do that go to the
config directory and edit gcc.bldconf.


-----Original Message-----
From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of Amittai
Sent: Friday, June 26, 2009 11:44 PM
To: parsec-users at lists.cs.princeton.edu
Subject: [parsec-users] General build failure

Hi!  I am trying to do the default complete build by running

parsecmgmt -a build

But I am getting the following error:

[PARSEC] [---------- Analyzing package blackscholes ----------]
[PARSEC] blackscholes does not depend on any other packages.
[PARSEC] [---------- Building package blackscholes ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package blackscholes.
[PARSEC] Running 'env version=pthreads /usr/bin/make':
rm -f blackscholes  blackscholes.m4.cpp
/usr/bin/m4 ./c.m4.pthreads blackscholes.c > blackscholes.m4.cpp
/usr/local/gcc-4.2.1/bin/g++ -O3 -funroll-loops -fprefetch-loop-arrays  
-fpermissive -fno-exceptions -DPARSEC_VERSION=2.0 -pthread - 
DENABLE_THREADS -DN=960 -DNCO=2   blackscholes.m4.cpp -L/usr/local/ 
gcc-4.2.1/lib64 -L/usr/local/gcc-4.2.1/lib  -o blackscholes
make: /usr/local/gcc-4.2.1/bin/g++: Command not found
make: *** [blackscholes] Error 127
[PARSEC] Error: 'env version=pthreads /usr/bin/make' failed.

It looks to me as if parsecmgmt "thinks" that g++ is found at /usr/ 
local/gcc-4.2.1/bin/g++, but, on my system, it's at /usr/local/bin/ 
gcc .  Does this mean that the system provided the wrong information  
to parsec's configuration script?  In any event, what should I do?

If I have to compile manually, and I want to use pthreads, should I  
run make in each app/src directory this way? --

make version=pthreads


Amittai Aviram
Graduate Student in Computer Science
Yale University
646 483 2639
amittai.aviram at yale.edu

parsec-users mailing list
parsec-users at lists.cs.princeton.edu

More information about the parsec-users mailing list