[Iplant-api-dev] Error building SPA on stampede
Matthew Vaughn
vaughn at tacc.utexas.edu
Fri Feb 27 13:50:12 MST 2015
I’d guess that flag is not supported under the default system GCC which is
gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
You have the option to swap to more recent releases of that compiler via the modules system: gcc/4.4.6, gcc/4.6.3, gcc/4.7.1, and you would do so via a command like module load "module load gcc/4.7.1"
I assume you are building an Agave app. This will mean that you will need at least
purge
load TACC
module load gcc/4.7.1
in your list of custom modules in the app description.
Cheers,
Matt
> On Feb 27, 2015, at 2: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
>
>
> _______________________________________________
> 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/vaughn%40tacc.utexas.edu?unsub=1&unsubconfirm=1
More information about the Iplant-api-dev
mailing list