Developer using Linux

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

Moderators: silvia, selimgunay, Moderators

Post Reply
xiaomiemie
Posts: 3
Joined: Wed Jun 29, 2016 6:52 pm
Location: Lehigh University

Developer using Linux

Post by xiaomiemie » Tue Jun 05, 2018 1:07 pm

Dear all,

I read the developer instructions for Unix and tried to follow the steps :

1. Type make in the DEVELOPER directory to build the so file
I have the .so file built as
example1.tcl Example.out libTruss2D.so Makefile Truss2D.cpp Truss2D.h Truss2D.o Truss2D.so

2. in the prompt window:module load opensees
3. in the promptwindow:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/lim215/Documents/OpenSeesFile/OpenSees/DEVELOPER/element/cpp

4. run OpenSees and source the example1.tcl

OpenSees > source example1.tcl
ERROR -- element of type Truss2D not known

Can someone shed some lights on the issue? Thanks!!

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

Re: Developer using Linux

Post by fmk » Fri Jun 08, 2018 8:42 am

what version of linux and what version of OpenSees did you build.

xiaomiemie
Posts: 3
Joined: Wed Jun 29, 2016 6:52 pm
Location: Lehigh University

Re: Developer using Linux

Post by xiaomiemie » Fri Jun 08, 2018 1:57 pm

Hey Frank thanks for the reply,

I am using CentOS Linux release 7.5.1804 and OpenSees rev 6692 32-bit.

Post Reply