errors about installing OpenSees on ubuntu 14.10

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

Moderators: silvia, selimgunay, Moderators

Post Reply
fangming
Posts: 11
Joined: Tue Nov 25, 2014 5:38 pm
Location: Harbin Institute of Technology

errors about installing OpenSees on ubuntu 14.10

Post by fangming » Tue Feb 17, 2015 11:25 pm

Dear fmk,

>>I try to install OpenSees on my ubuntu 14.10 system, and meet some problems. Some key information is listed below:

1) I follow the makefile: (root)/trunk/MAKES/Makefile.def.EC2-UBUNTU - modified 5528

2) I type the command suggested:

# sudo in and type the following:
# sudo apt-get update
# sudo apt-get install subversion
# svn co svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk OpenSees
# sudo apt-get install emacs
# sudo apt-get install make
# sudo apt-get install tcl8.5
# sudo apt-get install tcl8.5-dev
# sudo apt-get install gcc
# sudo apt-get install g++
# sudo apt-get install gfortran
# mkdir lib
# mkdir bin
# cd OpenSees
# cp ./MAKES/Makefile.def.EC2-UBUNTU ./Makefile.def
# make

3) I change three file locations of the makefile:

To: HOME = /home/fangming
To: TCL_LIBRARY = /usr/lib/x86_64-linux-gnu/libtcl8.5.so
To: TCL_INCLUDES = -I/usr/include/tcl-private/generic

>>And here is the error information:
__________________________________________________________________________________________
DirectIntegrationAnalysis.cpp: In member function ‘virtual int DirectIntegrationAnalysis::analyze(int, double)’:
DirectIntegrationAnalysis.cpp:183:20: error: ‘class TransientIntegrator’ has no member named ‘setEigenSOE’
theIntegrator->setEigenSOE(theEigenSOE);
^
make[3]: *** [DirectIntegrationAnalysis.o] Error 1
make[3]: Leaving directory `/home/fangming/OpenSees/SRC/analysis/analysis'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fangming/OpenSees/SRC/analysis'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fangming/OpenSees/SRC'
make[1]: Entering directory `/home/fangming/OpenSees/OTHER/METIS'
Makefile:5: warning: overriding commands for target `.c.o'
../../Makefile.def:238: warning: ignoring old commands for target `.c.o'
make[1]: Leaving directory `/home/fangming/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/fangming/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/fangming/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/fangming/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/fangming/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/fangming/OpenSees/SRC/tcl'
g++: error: /home/fangming/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/fangming/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
fangming@ubuntu-ming:~/OpenSees$
__________________________________________________________________________________________

>>after this, I enter the SRC folder and make. Here is the error information:

__________________________________________________________________________________________
DirectIntegrationAnalysis.cpp: In member function ‘virtual int DirectIntegrationAnalysis::analyze(int, double)’:
DirectIntegrationAnalysis.cpp:183:20: error: ‘class TransientIntegrator’ has no member named ‘setEigenSOE’
theIntegrator->setEigenSOE(theEigenSOE);
^
make[2]: *** [DirectIntegrationAnalysis.o] Error 1
make[2]: Leaving directory `/home/fangming/OpenSees/SRC/analysis/analysis'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/fangming/OpenSees/SRC/analysis'
make: *** [all] Error 2
fangming@ubuntu-ming:~/OpenSees/SRC$
__________________________________________________________________________________________

Please give me some suggestions! Thanks very much and I really appreciate your time and help.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: errors about installing OpenSees on ubuntu 14.10

Post by fmk » Thu Feb 19, 2015 1:10 pm

i made a fix to that problem .. you need to update to the latest code sing svn

fangming
Posts: 11
Joined: Tue Nov 25, 2014 5:38 pm
Location: Harbin Institute of Technology

Re: errors about installing OpenSees on ubuntu 14.10

Post by fangming » Thu Feb 19, 2015 9:58 pm

fmk wrote:
> i made a fix to that problem .. you need to update to the latest code sing
> svn

Dear fmk,

My problem is solved. Thanks a lot for your advice.

fangming
Posts: 11
Joined: Tue Nov 25, 2014 5:38 pm
Location: Harbin Institute of Technology

Re: errors about installing OpenSees on ubuntu 14.10

Post by fangming » Mon Mar 16, 2015 6:49 pm

fmk wrote:
> i made a fix to that problem .. you need to update to the latest code sing
> svn

Dear fmk,

I am using the version (root)/trunk/MAKES/Makefile.def.EC2-UBUNTU - modified 5528.
And I found that there are some changes in the class "DirectIntegrationAnalysis".
Functions eigen and setEigenSOE are added.
I am curious. Are these functions used for Modal Transient Analysis ? If not, what's the purpose ?

Thanks,
Fang.

fmk
Site Admin
Posts: 5883
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: errors about installing OpenSees on ubuntu 14.10

Post by fmk » Tue Mar 24, 2015 8:12 am

no, modal damping

Post Reply