[parsec-users] General build failure

Amittai Aviram amittai.aviram at yale.edu
Fri Jun 26 23:44:24 EDT 2009


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

Thanks!



Amittai Aviram
Graduate Student in Computer Science
Yale University
646 483 2639
amittai.aviram at yale.edu
http://www.amittai.com



More information about the parsec-users mailing list