SuperLU compiling error

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
arduino
Posts: 10
Joined: Thu Dec 01, 2005 6:39 pm
Location: Seattle

SuperLU compiling error

Post by arduino »

Hi !

I am trying to compile OpenSees in Linux RedHat Enterpise. I am getting this error related to the superLU library. I am sure I am doing something silly here... Anyhelp is welcome.

Pedro

tingFunction -I/home/parduino/OpenSees/SRC/reliability/domain/spectrum -I/home/parduino/OpenSees/SRC/reliability/FEsensitivity -I/home/parduino/OpenSees/SRC/reliability/tcl -I/home/parduino/OpenSees/SRC/unittest -I/home/parduino/OpenSees/SRC -I/home/parduino/OpenSees/OTHER/SuperLU -I/home/parduino/OpenSees/SRC/package -c SuperLU.cpp
In file included from SuperLU.cpp:35:
/home/parduino/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SuperLU.h:78: error: `superlu_options_t' does not name a type
/home/parduino/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN/SuperLU.h:79: error: `SuperLUStat_t' does not name a type
SuperLU.cpp: In constructor `SuperLU::SuperLU(int, double, int, int, char)':
SuperLU.cpp:54: error: `options' undeclared (first use this function)
SuperLU.cpp:54: error: (Each undeclared identifier is reported only once for each function it appears in.)
SuperLU.cpp:54: error: `DOFACT' undeclared (first use this function)
SuperLU.cpp:55: error: `YES' undeclared (first use this function)
SuperLU.cpp:56: error: `COLAMD' undeclared (first use this function)
SuperLU.cpp:58: error: `NOTRANS' undeclared (first use this function)
SuperLU.cpp:59: error: `NOREFINE' undeclared (first use this function)
SuperLU.cpp:60: error: `NO' undeclared (first use this function)
SuperLU.cpp: In destructor `virtual SuperLU::~SuperLU()':
SuperLU.cpp:83: error: `stat' undeclared (first use this function)
SuperLU.cpp:83: error: `StatFree' undeclared (first use this function)
SuperLU.cpp:92: error: `SUPERLU_FREE' undeclared (first use this function)
SuperLU.cpp: In member function `virtual int SuperLU::solve()':
SuperLU.cpp:166: error: `options' undeclared (first use this function)
SuperLU.cpp:167: error: `stat' undeclared (first use this function)
SuperLU.cpp:177: error: `SamePattern_SameRowPerm' undeclared (first use this function)
SuperLU.cpp:179: error: `SamePattern' undeclared (first use this function)
SuperLU.cpp:185: error: `trans_t' undeclared (first use this function)
SuperLU.cpp:185: error: expected `;' before "trans"
SuperLU.cpp:187: error: `trans' undeclared (first use this function)
SuperLU.cpp: In member function `virtual int SuperLU::setSize()':
SuperLU.cpp:233: error: `stat' undeclared (first use this function)
SuperLU.cpp:233: error: `StatInit' undeclared (first use this function)
SuperLU.cpp:238: error: `SLU_NC' undeclared (first use this function)
SuperLU.cpp:238: error: `SLU_D' undeclared (first use this function)
SuperLU.cpp:238: error: `SLU_GE' undeclared (first use this function)
SuperLU.cpp:243: error: `options' undeclared (first use this function)
SuperLU.cpp:246: error: `SLU_DN' undeclared (first use this function)
SuperLU.cpp:250: error: `DOFACT' undeclared (first use this function)
SuperLU.cpp:253: error: `YES' undeclared (first use this function)
make[4]: *** [SuperLU.o] Error 1
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

pedro,

try replacing the SUPERLUdir in your Makefile.def with:

SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_3.0/SRC
aliirmak
Posts: 44
Joined: Tue Sep 04, 2007 2:57 pm
Location: PU,West Lafayette, IN

Post by aliirmak »

Is there any difference between normal superlu and superlu_3.0?
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

3.0 is a newer version.
hellojikir
Posts: 10
Joined: Tue Apr 15, 2008 6:38 am

Post by hellojikir »

:D :D :D :D






ImageImageImageImageImageImageImageImageImageImage
Post Reply