Page 1 of 1

opensees COMPILE error

Posted: Wed Sep 23, 2009 10:59 am
by pankajd
icc: command line warning #10006: ignoring unknown option '-ffloat-store'
commands.cpp(298): remark #1419: external declaration in primary source file
int reliability(ClientData, Tcl_Interp *, int, TCL_Char **);
^

commands.cpp(299): remark #1419: external declaration in primary source file
int wipeReliability(ClientData, Tcl_Interp *, int, TCL_Char **);
^

commands.cpp(303): remark #1419: external declaration in primary source file
const char * getInterpPWD(Tcl_Interp *interp);
^

/home/csm/gourik/opensees/OpenSees_sq_intel_3/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/DistributedSuperLU.h(44): catastrophic error: could not open source file "superlu_ddefs.h"
#include <superlu_ddefs.h>
^

compilation aborted for commands.cpp (code 4)
make[2]: *** [commands.o] Error 4
make[2]: Leaving directory `/home/csm/gourik/opensees/OpenSees_sq_intel_3/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2

Posted: Tue Oct 06, 2009 2:15 pm
by fmk
do a search for missing superlu_ddefs.h and then add that directory, dirLocation?, to include paths with a -IdirLocation?

compilation error

Posted: Thu Oct 08, 2009 2:38 am
by gourik
I receiving same error , but in different scenario.
With gnu compilers it gets compiled successfully .. but with intel compilers it gives following errors

commands.cpp(871): error: identifier "Tcl_FSEvalFileEx" is undefined
return Tcl_FSEvalFileEx(interp, fileName, encodingName);
^

compilation aborted for commands.cpp (code 2)
make[1]: *** [commands.o] Error 2
make[1]: Leaving directory `/home/secg/csm/gourik/opensees_intel/opensees_sq/OpenSees/SRC/tcl'
make: *** [all] Error 2

Posted: Wed Oct 14, 2009 6:05 pm
by sanat
which solver are you using? the error might be due to inappropriate version as well

Posted: Tue Oct 20, 2009 11:20 am
by fmk
this is a tcl version problem .. you eed to compile with -D_TCL84 and NOT -D_TCL85 .. or else update the version of tcl you have installed.

regarding tcl issue

Posted: Tue Oct 27, 2009 10:21 pm
by gourik
Hi,

But for Open sees 2.1.0 tcl version suggested is 8.5 and above. SO what should i do in such situation . I am trying to install Opensees 2.1.0

Posted: Wed Oct 28, 2009 12:09 pm
by fmk
you can use either version .. you just need the -D_TCL84 if 8.4.x or -D_TCL85 if 8.5.x