[parsec-users] Help: usr/bin/g++: Command not found

Anselmo Nhane anselmo.nhane at gmail.com
Mon Nov 5 07:52:39 EST 2012


Thanks.
I will ding that..

2012/11/4 Can Hankendi <hankendi at gmail.com>

> It seems like you don't have the g++ compiler installed on your system.
> Install g++ and try again.
>
> On Sat, Nov 3, 2012 at 12:15 AM, Anselmo Nhane <anselmo.nhane at gmail.com>wrote:
>
>>
>> Dear all
>>>
>>> I am new in Linux and i have to use to Learn PARSEC
>>>
>>> I am getting errors following the PARSEC tutorial.
>>> /usr/bin/g++: Command not found
>>> make: *** [all] Error 127
>>>
>>> [PARSEC] Error: 'env version=serial /usr/bin/make' failed.
>>>
>>> More from:
>>> (1) With canneal:
>>>
>>> alonhane at alonhane-laptop:~/prsc2/parsec-2.1$ parsecmgmt -a build -p
>>> canneal -c gcc-serial
>>> [PARSEC] Packages to build:  canneal
>>>
>>> [PARSEC] [========== Building package canneal ==========]
>>> [PARSEC] [---------- Analyzing package canneal ----------]
>>> [PARSEC] canneal does not depend on any other packages.
>>> [PARSEC] [---------- Building package canneal ----------]
>>> [PARSEC] Copying source code of package canneal.
>>> [PARSEC] Running 'env version=serial /usr/bin/make':
>>> /usr/bin/g++ -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive
>>> -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed
>>> -DPARSEC_VERSION=2.1 annealer_thread.cpp -c -o annealer_thread.o
>>> make: /usr/bin/g++: Command not found
>>> make: *** [all] Error 127
>>> [PARSEC] Error: 'env version=serial /usr/bin/make' failed.
>>>
>>>
>>> -----
>>>
>>> I try to find a solution but someone suggest me to set g++ in
>>> bin/config/gcc.bldconf
>>>
>>> I am not clear on the solution
>>> My gcc.bldconf file configuration for Ubunto:
>>>
>>> ....
>>>  # Linux + default case
>>>
>>>   # CC_HOME is installation root of the C compiler
>>>   #export CC_HOME="/n/fs/parsec/local/gcc-4.4.0-static"
>>> export CC_HOME="/usr"
>>>   # BINUTIL_HOME is installation root of the GNU binutils
>>>   export BINUTIL_HOME="/usr"
>>>   # GNUTOOL_HOME is installation root of the GNU tools
>>>   export GNUTOOL_HOME="/usr"
>>>   # BINARY_PREFIX is the string which is used as prefix for the GNU
>>> binaries
>>>   export BINARY_PREFIX=""
>>> ;;
>>> esac
>>>
>>> # Compilers and preprocessors
>>> export CC="${CC_HOME}/bin/gcc"
>>> export CXX="${CC_HOME}/bin/g++"
>>> export CPP="${CC_HOME}/bin/cpp"
>>> export CXXCPP=""
>>>
>>> (.....)
>>>
>>> Thank you in Advance
>>>
>>>
>>>
>>> Best Regards
>>> Anselmo Nhane
>>> PUC-Minas
>>> Brasil
>>>
>>>
>>>
>>>
>>
>>
>> --
>>
>>
>> _________________________________
>> Cordiais saudações
>>
>> Anselmo Nhane
>> PUC-Minas
>> Belo Horizonte, Minas
>>
>>
>> Use e Divulge o portal de Estatisticas de Mozambique, www.ine.gov.mz
>>
>>
>> _______________________________________________
>> parsec-users mailing list
>> parsec-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>>
>>
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>
>


-- 


_________________________________
Cordiais saudações

Anselmo Nhane
PUC-Minas
Belo Horizonte, Minas


Use e Divulge o portal de Estatisticas de Mozambique, www.ine.gov.mz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20121105/21cb4b64/attachment.html>


More information about the parsec-users mailing list