how compile OS extension files

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

Moderators: silvia, selimgunay, Moderators

Post Reply
negin
Posts: 20
Joined: Fri Mar 17, 2006 3:39 pm

how compile OS extension files

Post by negin »

hi all

is there anyone that can help me how to compile opensees new extension files?

thank you
negin
aneeman
Posts: 90
Joined: Thu Jan 12, 2006 1:13 pm
Contact:

Re: how compile OS extension files

Post by aneeman »

Help me out here; not sure what you mean by extension files. Is it a file I can find in
1.7.3
OpenSees/SRC ?

or is it something new you are creating?

alisa
negin wrote:hi all

is there anyone that can help me how to compile opensees new extension files?

thank you
negin
negin
Posts: 20
Joined: Fri Mar 17, 2006 3:39 pm

Post by negin »

Hi alisa

indeed, I need to compile some new ubc extension files from M. Scott for performing reliability analysis.

thank you
Negin
aneeman
Posts: 90
Joined: Thu Jan 12, 2006 1:13 pm
Contact:

Post by aneeman »

Umm, it looks like, in OpenSees/Makefile.def, it needs to say
RELIABILITY = YES_RELIABILITY

This will cause all the reliability files to compile, but I'm not seeing where they get added to OpenSees.lib

I think what needs to happen is more stuff needs to be added to

OpenSees/SRC/Makefile


You see how there's lists in there like

FMK_LIBS = $(FE)/database/FE_Datastore.o \
$(FE)/package/packages.o

I think you will need something like that for RELIABILITY_LIBS, e.g.

RELIABILITY_LIBS = $(FE)/reliability/analysis/curvature/CurvaturesBySearchAlgorithm.o \
$(FE)/reliability/analysis/curvature/FindCurvatures.o \ ...

and then also in the upper part of the Makefile, where you see the others like this,
@$(AR) $(ARFLAGS) $(FE_LIBRARY) $(RELIABILITY_LIBS)

to add the reliability stuff to OpenSees.lib

hope this helps,

alisa

(you can see where all the others are)
negin wrote:Hi alisa

indeed, I need to compile some new ubc extension files from M. Scott for performing reliability analysis.

thank you
Negin
aneeman
Posts: 90
Joined: Thu Jan 12, 2006 1:13 pm
Contact:

my bad

Post by aneeman »

So, it looks like you only need to set RELIABILITY = YES_RELIABILITY
I lookede at the Makefile in
OpenSees/SRC/reliability and all the stuff about building reliability.lib is in there.

sorry, my bad,

alisa
negin
Posts: 20
Joined: Fri Mar 17, 2006 3:39 pm

Post by negin »

hello alisa

i compiled the extention files
but when i want to use these extended abilities the OpenSees said "can not create that commands"
i want to ask:
1- could'nt we compile the extention file in a right manner?? ( we follow the developers page step by step)
2- is there extra steps that we dont do that,if it is please say that
3-is it possible please send me a compiled version that include these extensions(its so important for me to complete my researches)
4-if you cant send ,please tell me a step by step way for me that i follow

thank youu for your helps

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

Post by fmk »

what specifically are you looking for? .. mike scott is at oregon state, terje haukaus who also does reliability work is at UBC.
Post Reply