Error while Installing OpenSees on Fedora 5
Moderators: silvia, selimgunay, Moderators
Error while Installing OpenSees on Fedora 5
Dear all..
While Installing OpenSees in My OS Fedora 5 i am getting following errors
In file included from TclFiniteDeformationElastic3DCommand.cpp:33:
/home/pallavig/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.h:58:17: error: calling fdopen: Ba d file descriptor
make[4]: *** [TclFiniteDeformationElastic3DCommand.o] Error 1
make[4]: Leaving directory `/home/pallavig/OpenSees/SRC/material/nD/FiniteDeformation'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/pallavig/OpenSees/SRC/material/nD'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pallavig/OpenSees/SRC/material'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pallavig/OpenSees/SRC'
Also at the end of make i got following errors.
home/pallavig/OpenSees/SRC -I/home/pallavig/OpenSees/OTHER/SuperLU_3.0/SRC -I/home/pallavig/Ope nSees/SRC/package -I/usr/include -I/usr/local/include -I/usr/include/c++ -I/home/pallavi g/blitz -c tclAppInit.cpp -o tclAppInit.o
make[1]: Leaving directory `/home/pallavig/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/pallavig/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/pallavig/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/pallavig/OpenSees/SRC/tcl'
g++: /home/pallavig/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/pallavig/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Could anybody help me regarding this Bad file Discriptor error... where i am wrong...
As Exactly what to correct..
Thanking in advanced
Pallavi
While Installing OpenSees in My OS Fedora 5 i am getting following errors
In file included from TclFiniteDeformationElastic3DCommand.cpp:33:
/home/pallavig/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.h:58:17: error: calling fdopen: Ba d file descriptor
make[4]: *** [TclFiniteDeformationElastic3DCommand.o] Error 1
make[4]: Leaving directory `/home/pallavig/OpenSees/SRC/material/nD/FiniteDeformation'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/pallavig/OpenSees/SRC/material/nD'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/pallavig/OpenSees/SRC/material'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pallavig/OpenSees/SRC'
Also at the end of make i got following errors.
home/pallavig/OpenSees/SRC -I/home/pallavig/OpenSees/OTHER/SuperLU_3.0/SRC -I/home/pallavig/Ope nSees/SRC/package -I/usr/include -I/usr/local/include -I/usr/include/c++ -I/home/pallavi g/blitz -c tclAppInit.cpp -o tclAppInit.o
make[1]: Leaving directory `/home/pallavig/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/pallavig/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/pallavig/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/pallavig/OpenSees/SRC/tcl'
g++: /home/pallavig/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/pallavig/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Could anybody help me regarding this Bad file Discriptor error... where i am wrong...
As Exactly what to correct..
Thanking in advanced
Pallavi
Version of gcc on Fedora Core 5
The gcc version is ..........
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
Thanks and Regards
Pallavi
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
Thanks and Regards
Pallavi
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Hi Pallavi,
I have done Installation in FC5 erlier, both using OpenGL (mesa) and X11.
For installing using OpenGL, follow the message in this forum entitled "Makefiledef for FC5 is here". For installation using X11, the following may be of help. Pl. note that this was written for my students, completely new to Linux. So som of the instructions may be foolish (like cd etc.) for experienced. The $HOME may be modified suitably for your needs.
Hope this helps
(Sukumar)
##############################
INSTALLING OpenSees 1.7.3 in Fedora Core 5
##############################
The following step by step procedures are needed to install the program. The target directory is /usr/local/OpenSees so the all users can execute the program.
1 During FC 5 installation select Scientific, Software Development packages. Also for OpenGL implementation Mesa libraries are to be installed.
2 In the FC5 distribution, the available tcl is 8.4.12 and Tk is not available. The tcl and Tk distributions in the www.sourceforge.net/projects/Tcl-Tk is 8.4.13. Hence upgradation is necessary. Therefore download the following files from http://hany.sk/~hany/RPM/fc-extras-5-i386/ site:
i) tcl-8.4.13-1.1.i386.rpm, ii) tcl-devel-8.4.13-1.1.i386.rpm, iii) tcl-html-8.4.13-1.1.i386.rpm, iv) tk-8.4.13-1.1.i386.rpm, v) tk-devel-8.4.13-1.1.i386.rpm.
a) Copy the above files to /usr/local.
b) Open a terminal and cd to /usr/local
c) Upgrade tcl by typing rpm -Uvh tcl-8.4.13-1.1.i386.rpm
d) Install all other files by typing rpm –ivh <filename>.rpm
e) cd to /usr/lib and type ls libt* . The following files should be present:
libtcl8.4.so; libtcl.so; libtclstub.8.4.a; libtk8.4.so; libtk.so; libtkstub8.4.a
3 Extract the OpenSees1.7.3 tar ball the /usr/local. This should create a dir named OpenSees-1.7.3 in /usr/local. Rename it as OpenSees.
4 Download blitz tar ball from blitz web site. The present version is blitz0.9. Extract it to /usr/local. For extracting type in terminal (pwd = appropriate directory)
tar xvzf <filename>.tar.gz
This will create /usr/local/blitz-0.9.
a) Read the install.txt file in /usr/local/blitz-0.9.
b) type (in pwd=/usr/local/blitz-0.9) ./configure
c) type make lib (There will be message in the terminal for various option. Suitable one may be selected. To create library, the present command is sufficient.
d) cd to /usr/local/blitz-0.9/lib. The file libblitz.la must be present before compiling OpenSees.
5 Install mesa-lib-GLU
a) Copy mesa-lib-GLU-6.4.2-6.i386.rpm to /usr/local
b) Install this in /usr/local by using rpm –ivh <filename> command.
6 Install Openmotif
This can be done during installation of FC5 by customizing. Instead, following may be done:
a) copy openmotif-2.2.3-10.i386.rpm to /usr. Then extract it by Gnome archive manager or otherwise
b) This will create a directory openmotif-2.2.3-10.i386.rpm_FILES in /usr. Copy the file libXm.so.3.0.2 from this directory to /usr/lib.
c) cd to /usr/lib
d) create a symbolic link to libXm.so.3.0.2 in dir /usr/lib. For this type
ln –s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so
e) check the presence of the following files in /usr/lib
libXm.so.3 (the symbolic link)
libXm.so.3.0.2
f) If openmotif is installed from the FC5 distribution, then the files will be
libXm.so.4 and libXm.so.4.0.1
7 Installing OpenSees
The makefile.def.FC5 is appended here. Rename it to makefile.def and place it in /usr/local/OpenSees.
Now the system is ready for installing OpenSees. For this
a) cd to /usr/local/OpenSees and type make . This should create executable OpenSees in /usr/local/bin.
b) In case earlier trials of installing OpenSees did not succeed then type
make clean
After the shell prompt returns, type
make.
makefile.def.FC5 is given below.
############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Modified:sukumar
# Date: 01/2007
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
OpenSees_PROGRAM = $(HOME)/bin/OpenSees
OPERATING_SYSTEM = LINUX
GRAPHICS = UsingX11
PROGRAMMING_MODE = SEQUENTIAL
DEBUG_MODE = NO_DEBUG
RELIABILITY = NO_RELIABILITY
# %---------------------------------%
# | SECTION 2: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
#BASE = /usr/local
BASE = /usr/bin
#HOME = /home/sukumar
HOME = /usr/local
FE = $(HOME)/OpenSees/SRC
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_3.0/SRC
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) \
$(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
# %-------------------------------------------------------%
# | SECTION 3: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists where you want the library to go!
FE_LIBRARY = $(HOME)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(HOME)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(HOME)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(HOME)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
LAPACK_LIBRARY = $(HOME)/lib/libLapack.a
BLAS_LIBRARY = $(HOME)/lib/libBlas.a
SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU.a
CBLAS_LIBRARY = $(HOME)/lib/libCBlas.a
ARPACK_LIBRARY = $(HOME)/lib/libArpack.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
TCL_LIBRARY = /usr/lib/libtk8.4.so /usr/lib/libXm.so.3 /usr/lib/libtcl8.4.so
BLITZ_LIBRARY = /usr/local/blitz-0.9/lib/libblitz.la
GRAPHIC_LIBRARY = /usr/lib/libGL.so /usr/lib/libGL.so.1 /usr/lib/libGLU.so.1
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(METIS_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 4: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# Compilers
CC++ = /usr/bin/c++
CC = /usr/bin/cc
FC = /usr/bin/gfortran
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
# Compiler Flags
#
# NOTES:
# C++ FLAGS TAKE need _UNIX or _WIN32 for preprocessor dircetives
# - the _WIN32 for the Windows95/98 or NT operating system.
# C FLAGS used -DUSE_VENDOR_BLAS (needed in SuperLU) if UNIX in C++ FLAGS
#
# modified as optimizaton currently causing problems with Steeln01 code
ifeq ($(DEBUG_MODE), DEBUG)
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL84 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-g -pg
CFLAGS = -Wall -pg $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall
# Linker
LINKER = $(CC++)
LINKFLAGS = -g -pg
else
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL84 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O3 -ffloat-store
CFLAGS = -Wall -O2
FFLAGS = -Wall -O
# Linker
LINKER = $(CC++)
LINKFLAGS = -rdynamic -Wl
endif
GRAPHIC_FLAG = -D_X11
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 5: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
#
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-------------------------------------------%
# | Command to build .o files from .f files. |
# %-------------------------------------------%
#
.cpp.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $< -o $@
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $< -o $@
# %---------------------------------------------------------%
# | SECTION 6: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib
MACHINE_NUMERICAL_LIBS = -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(GRAPHIC_LIBRARY)\
-ldl -lgfortran -lpng
MACHINE_SPECIFIC_LIBS =
# %---------------------------------------------------------%
# | SECTION 7: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
# MACHINE_INCLUDES = -I/usr/include \
# -I$(BASE)/include \
# -I/usr/include/cxx \
# -I$(HOME)/include -I$(HOME)/blitz
MACHINE_INCLUDES = -I/usr/include \
-I$(BASE)/include \
-I/usr/include/X11 \
-I$(HOME)/include -I/usr/local/blitz
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
TCL_INCLUDES =
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
I have done Installation in FC5 erlier, both using OpenGL (mesa) and X11.
For installing using OpenGL, follow the message in this forum entitled "Makefiledef for FC5 is here". For installation using X11, the following may be of help. Pl. note that this was written for my students, completely new to Linux. So som of the instructions may be foolish (like cd etc.) for experienced. The $HOME may be modified suitably for your needs.
Hope this helps
(Sukumar)
##############################
INSTALLING OpenSees 1.7.3 in Fedora Core 5
##############################
The following step by step procedures are needed to install the program. The target directory is /usr/local/OpenSees so the all users can execute the program.
1 During FC 5 installation select Scientific, Software Development packages. Also for OpenGL implementation Mesa libraries are to be installed.
2 In the FC5 distribution, the available tcl is 8.4.12 and Tk is not available. The tcl and Tk distributions in the www.sourceforge.net/projects/Tcl-Tk is 8.4.13. Hence upgradation is necessary. Therefore download the following files from http://hany.sk/~hany/RPM/fc-extras-5-i386/ site:
i) tcl-8.4.13-1.1.i386.rpm, ii) tcl-devel-8.4.13-1.1.i386.rpm, iii) tcl-html-8.4.13-1.1.i386.rpm, iv) tk-8.4.13-1.1.i386.rpm, v) tk-devel-8.4.13-1.1.i386.rpm.
a) Copy the above files to /usr/local.
b) Open a terminal and cd to /usr/local
c) Upgrade tcl by typing rpm -Uvh tcl-8.4.13-1.1.i386.rpm
d) Install all other files by typing rpm –ivh <filename>.rpm
e) cd to /usr/lib and type ls libt* . The following files should be present:
libtcl8.4.so; libtcl.so; libtclstub.8.4.a; libtk8.4.so; libtk.so; libtkstub8.4.a
3 Extract the OpenSees1.7.3 tar ball the /usr/local. This should create a dir named OpenSees-1.7.3 in /usr/local. Rename it as OpenSees.
4 Download blitz tar ball from blitz web site. The present version is blitz0.9. Extract it to /usr/local. For extracting type in terminal (pwd = appropriate directory)
tar xvzf <filename>.tar.gz
This will create /usr/local/blitz-0.9.
a) Read the install.txt file in /usr/local/blitz-0.9.
b) type (in pwd=/usr/local/blitz-0.9) ./configure
c) type make lib (There will be message in the terminal for various option. Suitable one may be selected. To create library, the present command is sufficient.
d) cd to /usr/local/blitz-0.9/lib. The file libblitz.la must be present before compiling OpenSees.
5 Install mesa-lib-GLU
a) Copy mesa-lib-GLU-6.4.2-6.i386.rpm to /usr/local
b) Install this in /usr/local by using rpm –ivh <filename> command.
6 Install Openmotif
This can be done during installation of FC5 by customizing. Instead, following may be done:
a) copy openmotif-2.2.3-10.i386.rpm to /usr. Then extract it by Gnome archive manager or otherwise
b) This will create a directory openmotif-2.2.3-10.i386.rpm_FILES in /usr. Copy the file libXm.so.3.0.2 from this directory to /usr/lib.
c) cd to /usr/lib
d) create a symbolic link to libXm.so.3.0.2 in dir /usr/lib. For this type
ln –s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so
e) check the presence of the following files in /usr/lib
libXm.so.3 (the symbolic link)
libXm.so.3.0.2
f) If openmotif is installed from the FC5 distribution, then the files will be
libXm.so.4 and libXm.so.4.0.1
7 Installing OpenSees
The makefile.def.FC5 is appended here. Rename it to makefile.def and place it in /usr/local/OpenSees.
Now the system is ready for installing OpenSees. For this
a) cd to /usr/local/OpenSees and type make . This should create executable OpenSees in /usr/local/bin.
b) In case earlier trials of installing OpenSees did not succeed then type
make clean
After the shell prompt returns, type
make.
makefile.def.FC5 is given below.
############################################################################
#
# Program: OpenSees
#
# Purpose: A Top-level Makefile to create the libraries needed
# to use the OpenSees framework. Works on Linux version 6.1
# and below.
#
# Written: fmk
# Modified:sukumar
# Date: 01/2007
#
# Send bug reports, comments or suggestions to fmckenna@ce.berkeley.edu
#
############################################################################
# %---------------------------------%
# | SECTION 1: PROGRAM |
# %---------------------------------%
#
# Specify the location and name of the OpenSees interpreter program
# that will be created (if this all works!)
OpenSees_PROGRAM = $(HOME)/bin/OpenSees
OPERATING_SYSTEM = LINUX
GRAPHICS = UsingX11
PROGRAMMING_MODE = SEQUENTIAL
DEBUG_MODE = NO_DEBUG
RELIABILITY = NO_RELIABILITY
# %---------------------------------%
# | SECTION 2: PATHS |
# %---------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries or if you have
# any of the libraries already leave the directory location blank AND
# remove the directory from DIRS.
#BASE = /usr/local
BASE = /usr/bin
#HOME = /home/sukumar
HOME = /usr/local
FE = $(HOME)/OpenSees/SRC
BLASdir = $(HOME)/OpenSees/OTHER/BLAS
CBLASdir = $(HOME)/OpenSees/OTHER/CBLAS
LAPACKdir = $(HOME)/OpenSees/OTHER/LAPACK
SUPERLUdir = $(HOME)/OpenSees/OTHER/SuperLU_3.0/SRC
ARPACKdir = $(HOME)/OpenSees/OTHER/ARPACK
UMFPACKdir = $(HOME)/OpenSees/OTHER/UMFPACK
METISdir = $(HOME)/OpenSees/OTHER/METIS
SRCdir = $(HOME)/OpenSees/SRC
DIRS = $(BLASdir) $(CBLASdir) $(LAPACKdir) \
$(SUPERLUdir) $(ARPACKdir) $(UMFPACKdir) $(SRCdir) $(METISdir)
# %-------------------------------------------------------%
# | SECTION 3: LIBRARIES |
# | |
# | The following section defines the libraries that will |
# | be created and/or linked with when the libraries are |
# | being created or linked with. |
# %-------------------------------------------------------%
#
# Note: if vendor supplied BLAS and LAPACK libraries leave the
# libraries blank. You have to get your own copy of the tcl/tk
# library!!
#
# Note: For libraries that will be created (any in DIRS above)
# make sure the directory exsists where you want the library to go!
FE_LIBRARY = $(HOME)/lib/libOpenSees.a
NDARRAY_LIBRARY = $(HOME)/lib/libndarray.a # BJ_UCD jeremic@ucdavis.edu
MATMOD_LIBRARY = $(HOME)/lib/libmatmod.a # BJ_UCD jeremic@ucdavis.edu
BJMISC_LIBRARY = $(HOME)/lib/libBJmisc.a # BJ_UCD jeremic@ucdavis.edu
LAPACK_LIBRARY = $(HOME)/lib/libLapack.a
BLAS_LIBRARY = $(HOME)/lib/libBlas.a
SUPERLU_LIBRARY = $(HOME)/lib/libSuperLU.a
CBLAS_LIBRARY = $(HOME)/lib/libCBlas.a
ARPACK_LIBRARY = $(HOME)/lib/libArpack.a
UMFPACK_LIBRARY = $(HOME)/lib/libUmfpack.a
METIS_LIBRARY = $(HOME)/lib/libMetis.a
TCL_LIBRARY = /usr/lib/libtk8.4.so /usr/lib/libXm.so.3 /usr/lib/libtcl8.4.so
BLITZ_LIBRARY = /usr/local/blitz-0.9/lib/libblitz.la
GRAPHIC_LIBRARY = /usr/lib/libGL.so /usr/lib/libGL.so.1 /usr/lib/libGLU.so.1
# WATCH OUT .. These libraries are removed when 'make wipe' is invoked.
WIPE_LIBS = $(FE_LIBRARY) \
$(LAPACK_LIBRARY) \
$(BLAS_LIBRARY) \
$(CBLAS_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(ARPACK_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(METIS_LIBRARY)
# %---------------------------------------------------------%
# | SECTION 4: COMPILERS |
# | |
# | The following macros specify compilers, linker/loaders, |
# | the archiver, and their options. You need to make sure |
# | these are correct for your system. |
# %---------------------------------------------------------%
# Compilers
CC++ = /usr/bin/c++
CC = /usr/bin/cc
FC = /usr/bin/gfortran
AR = ar
ARFLAGS = cqls
RANLIB = ranlib
RANLIBFLAGS =
# Compiler Flags
#
# NOTES:
# C++ FLAGS TAKE need _UNIX or _WIN32 for preprocessor dircetives
# - the _WIN32 for the Windows95/98 or NT operating system.
# C FLAGS used -DUSE_VENDOR_BLAS (needed in SuperLU) if UNIX in C++ FLAGS
#
# modified as optimizaton currently causing problems with Steeln01 code
ifeq ($(DEBUG_MODE), DEBUG)
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL84 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG) \
-g -pg
CFLAGS = -Wall -pg $(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) $(PROGRAMMING_FLAG)
FFLAGS = -Wall
# Linker
LINKER = $(CC++)
LINKFLAGS = -g -pg
else
C++FLAGS = -Wall -D_LINUX -D_UNIX -D_TCL84 \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O3 -ffloat-store
CFLAGS = -Wall -O2
FFLAGS = -Wall -O
# Linker
LINKER = $(CC++)
LINKFLAGS = -rdynamic -Wl
endif
GRAPHIC_FLAG = -D_X11
# Misc
MAKE = make
CD = cd
ECHO = echo
RM = rm
RMFLAGS = -f
SHELL = /bin/sh
# %---------------------------------------------------------%
# | SECTION 5: COMPILATION |
# | |
# | The following macros specify the macros used in |
# | to compile the source code into object code. |
# %---------------------------------------------------------%
.SUFFIXES:
.SUFFIXES: .C .c .f .f90 .cpp .o .cpp
#
# %------------------%
# | Default command. |
# %------------------%
#
.DEFAULT:
@$(ECHO) "Unknown target $@, try: make help"
#
# %-------------------------------------------%
# | Command to build .o files from .f files. |
# %-------------------------------------------%
#
.cpp.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.C.o:
@$(ECHO) Making $@ from $<
$(CC++) $(C++FLAGS) $(INCLUDES) -c $< -o $@
.c.o:
@$(ECHO) Making $@ from $<
$(CC) $(CFLAGS) -c $< -o $@
.f.o:
@$(ECHO) Making $@ from $<
$(FC) $(FFLAGS) -c $< -o $@
# %---------------------------------------------------------%
# | SECTION 6: OTHER LIBRARIES |
# | |
# | The following macros specify other libraries that must |
# | be linked with when creating executables. These are |
# | platform specific and typically order does matter!! |
# %---------------------------------------------------------%
MACHINE_LINKLIBS = -L$(BASE)/lib \
-L$(HOME)/lib
MACHINE_NUMERICAL_LIBS = -lm \
$(ARPACK_LIBRARY) \
$(SUPERLU_LIBRARY) \
$(UMFPACK_LIBRARY) \
$(LAPACK_LIBRARY) $(BLAS_LIBRARY) $(CBLAS_LIBRARY) \
$(GRAPHIC_LIBRARY)\
-ldl -lgfortran -lpng
MACHINE_SPECIFIC_LIBS =
# %---------------------------------------------------------%
# | SECTION 7: INCLUDE FILES |
# | |
# | The following macros specify include files needed for |
# | compilation. |
# %---------------------------------------------------------%
# MACHINE_INCLUDES = -I/usr/include \
# -I$(BASE)/include \
# -I/usr/include/cxx \
# -I$(HOME)/include -I$(HOME)/blitz
MACHINE_INCLUDES = -I/usr/include \
-I$(BASE)/include \
-I/usr/include/X11 \
-I$(HOME)/include -I/usr/local/blitz
# this file contains all the OpenSees/SRC includes
include $(FE)/Makefile.incl
TCL_INCLUDES =
INCLUDES = $(TCL_INCLUDES) $(FE_INCLUDES) $(MACHINE_INCLUDES)
Successfully i have installed Opensees on Fedora 5
Thanks a lot Mr. Sukumar for helping me in making the Makefile for Fedora 5.....
I got the Bin directory with Opensees ....
But then how can i use that Opensees executable...
Can you please help me in this
For running the Opensees applications..
Thanking You again
Regards
Pallavi
I got the Bin directory with Opensees ....
But then how can i use that Opensees executable...
Can you please help me in this
For running the Opensees applications..
Thanking You again
Regards
Pallavi
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Dear Pallavi,
Nice to learn that u have finally installed OpenSees. Now you can run it simply by opening a terminal and typing "OpenSees" there (without the qoutes). You should get the Copyright information and OpenSees version displayed before the Shell prompt. This will work if u have installed OpenSees in /usr/local or in your /home/pallavi directory. Otherwise you may edit your .bash_profile and add the following lines. For this i assume that u have your executable installed it in /usr/opt/bin.
$PATH = $PATH:/usr/opt/bin
EXPORT PATH
After this u logout once and then relogin. Open a terminal and start as explained above. To exit, simply type exit in your terminal.
Hope this helps. Pl let me know which area u are using OpenSees for.
Regards.
(Sukumar)
Dr. S. Baishya
Civil Engg. Department
NERIST
PIN 791109
Hello Dr. Sukumar
I followed the instructions given by you and ltoday I tried some Examples from Opensees Example manual and I got the Results also... which means the Opensees works fine on my Fedora 5 Operating system.
Sir We are working on Earthquake Engineering Grid Project in which we are making the Supercomputing facility available to users of INDIA..... for all reasearchers, academicians and consultants.
Under this the use of Earthquake Engineering Sofetwares are there, so we are also in process of installing OpenSees on our Supercomuter Param Padama (UNIX OS) AIX 5.3.
Sir can I get ur Personal mail Id so that we can do some discussion regarding this Earthquake Engineering Grid Project as we are also in touch with IIT Bombay, IIT Kanpur, SGSITS Indore.
Thanking You
Regards
Pallavi..
I followed the instructions given by you and ltoday I tried some Examples from Opensees Example manual and I got the Results also... which means the Opensees works fine on my Fedora 5 Operating system.
Sir We are working on Earthquake Engineering Grid Project in which we are making the Supercomputing facility available to users of INDIA..... for all reasearchers, academicians and consultants.
Under this the use of Earthquake Engineering Sofetwares are there, so we are also in process of installing OpenSees on our Supercomuter Param Padama (UNIX OS) AIX 5.3.
Sir can I get ur Personal mail Id so that we can do some discussion regarding this Earthquake Engineering Grid Project as we are also in touch with IIT Bombay, IIT Kanpur, SGSITS Indore.
Thanking You
Regards
Pallavi..
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact:
Dear Pallavi,
It is nice that ur system is working. Also, it is really a good news that i got from u that super computer is going to be used for Eqke research. I would be happy to know some of the details of the project as a person interested in development of Eqke engg. in India. Wish u all the best for this project of National Importance.
BTW, u can call me sukumar. We can certainly discuss some of the issues although i am basically a student of Eqke Engg. I work in the area of Dynamic Soil Structure Interaction. What i feel, in order to increase the user base of OpenSees, developing GUI, atleast for preprocessing, has become really urgent. Some recent developments in this reagrds are OpenseesPL, and vees. The former is for Window platform only. Is there any work going on in this line in ur project?
My mail id is : sukumar_baishya@yahoo.co.in; and sukumar.baishya@gmail.com.
Hope to be in touch.
Reagards
It is nice that ur system is working. Also, it is really a good news that i got from u that super computer is going to be used for Eqke research. I would be happy to know some of the details of the project as a person interested in development of Eqke engg. in India. Wish u all the best for this project of National Importance.
BTW, u can call me sukumar. We can certainly discuss some of the issues although i am basically a student of Eqke Engg. I work in the area of Dynamic Soil Structure Interaction. What i feel, in order to increase the user base of OpenSees, developing GUI, atleast for preprocessing, has become really urgent. Some recent developments in this reagrds are OpenseesPL, and vees. The former is for Window platform only. Is there any work going on in this line in ur project?
My mail id is : sukumar_baishya@yahoo.co.in; and sukumar.baishya@gmail.com.
Hope to be in touch.
Reagards
(Sukumar)
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain
-----------------------------------------------------
"Good Judgement comes from Experience; experience comes from Bad Judgement" -Mark Twain