[Iplant-api-dev] Error building SPA on stampede

Youens-Clark, Charles Kenneth - (kyclark) kyclark at email.arizona.edu
Fri Feb 27 15:00:43 MST 2015


OK, definitely making progress here.  I was able to get mine to compile using "module load gcc/4.7.1” instead of "module load intel/14.0.1.106.” 

Thanks!

Ken

> On Feb 27, 2015, at 2:34 PM, Rion Dooley <dooley at tacc.utexas.edu> wrote:
> 
> You have an older version of the gcc compilers installed by default. You need to updated them to at least 4.7 to get support for the c++11 option. Once you do that, you’ll find that boost isn’t in your path. You need the 1.51 version. Luckily Robert McLay is awesome, so lmod will solve all this for you. The following commands worked to build it successfully for me on Stampede in my $WORK directory.
> 
> 
> $ cdw
> $ wget -O sfaspa-0.2.0.tar.gz http://sourceforge.net/projects/spa-assembler/files/SFA-SPA%20source%20%2864%20bit%20linux%29/sfaspa-0.2.0.tar.gz/download
> $ tar xzf sfaspa-0.2.0.tar.gz
> $ cd sfaspa-0.2.0
> $ module load intel/14.0.1.106 
> $ module load boost/1.51.0
> $ export LIBRARY_PATH=/opt/apps/gcc4_7/boost/1.51.0/lib
> $ export CPATH=/opt/apps/gcc4_7/boost/1.51.0/include
> 
>> Rion 
> 
>> On Feb 27, 2015, at 3:43 PM, Youens-Clark, Charles Kenneth - (kyclark) <kyclark at email.arizona.edu> wrote:
>> 
>> I loaded no modules.  In my $WORK/src/sfaspa-0.2.0, I ran the “install.sh” script and got this.
>> 
>> Ken
>> 
>>> On Feb 27, 2015, at 1:34 PM, Rion Dooley <dooley at tacc.utexas.edu> wrote:
>>> 
>>> What compiler are you using? Did you module load?
>>> 
>>> --
>>> Rion
>>> 
>>> ----- Reply message -----
>>> From: "Youens-Clark, Charles Kenneth - (kyclark)" <kyclark at email.arizona.edu>
>>> To: "Rion Dooley" <dooley at tacc.utexas.edu>
>>> Cc: "Discussion of iPlant API development" <iplant-api-dev at iplantcollaborative.org>
>>> Subject: [Iplant-api-dev] Error building SPA on stampede
>>> Date: Fri, Feb 27, 2015 2:59 PM
>>> 
>>> While trying to compile SFA-SPA (http://sourceforge.net/projects/spa-assembler/) on stampede (trying to make an app for this), I get the following error:
>>> 
>>> Installing SPA ...
>>> rm -f /home1/03137/kyclark/src/sfaspa-0.2.0/bin/* *.o *core
>>> g++ -std=c++11 -Wall -Wno-deprecated -fopenmp -I/home1/03137/kyclark/src/sfaspa-0.2.0/3rd/seqan -I/home1/03137/kyclark/src/sfaspa-0.2.0/3rd/libdivsufsort-2.0.1/build/include -I/include -c param.cpp
>>> cc1plus: error: unrecognized command line option "-std=c++11"
>>> make: *** [param.o] Error 1
>>> 
>>> I’m stumped.
>>> 
>>> Ken
>>> 
>>> _______________________________________________
>>> Iplant-api-dev Mailing List: Iplant-api-dev at iplantcollaborative.org
>>> List Info and Archives: http://mail.iplantcollaborative.org/mailman/listinfo/iplant-api-dev  
>>> One-click Unsubscribe: http://mail.iplantcollaborative.org/mailman/options/iplant-api-dev/dooley%40tacc.utexas.edu?unsub=1&unsubconfirm=1
>> 
> 




More information about the Iplant-api-dev mailing list