Compiling v1.6.2

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

Moderators: silvia, selimgunay, Moderators

Post Reply
berktaftali
Posts: 68
Joined: Fri Jul 02, 2004 6:10 am
Location: Computers and Structures, Inc.

Compiling v1.6.2

Post by berktaftali »

Has anyone succesfully compiled v1.6.2 or the source from CVS? I'm getting all kinds of errors :?:
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Boris
Posts: 95
Joined: Mon Jun 14, 2004 3:57 pm
Location: UC Davis

on what OS?

Post by Boris »

I suspect it is one of the feeble compilers from Microsoft that cannot handle it...

Why don't you try GNU compilers for MS windows...

Boris
berktaftali
Posts: 68
Joined: Fri Jul 02, 2004 6:10 am
Location: Computers and Structures, Inc.

Post by berktaftali »

I'm using gcc ...
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Boris
Posts: 95
Joined: Mon Jun 14, 2004 3:57 pm
Location: UC Davis

interesting

Post by Boris »

is it under linux?

I have no problem compiling,

which version of gcc (gcc -version...).

Boris
berktaftali
Posts: 68
Joined: Fri Jul 02, 2004 6:10 am
Location: Computers and Structures, Inc.

Post by berktaftali »

Running

Code: Select all

gcc -v
results in the following:

Code: Select all

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-49)
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

if it worked before, the only thing you should have to do is change the location
of SuperLU in the Makefile.def from OTHER/SuperLU to /OTHER/SuperLU_3.0/SRC
berktaftali
Posts: 68
Joined: Fri Jul 02, 2004 6:10 am
Location: Computers and Structures, Inc.

Post by berktaftali »

I did the change in the Makefile.def file but still no luck. The following is the compilation error I'm getting:

Code: Select all

...
...
...
Making TclModelBuilder.o from TclModelBuilder.cpp
g++ -D_LINUX -D_UNIX  -D_TCL84 -D_MYSQL -D_GLX    -funroll-loops -fcse-follow-jumps -fthread-jumps -fcse-skip-blocks -frerun-cse-after-loop -felide-constructors -fcaller-saves -O2 -ffloat-store -fforce-addr -fschedule-insns -fschedule-insns2 -D_LINUX -D_UNIX -fexpensive-optimizations -fforce-addr -fforce-mem -finline-functions -fkeep-inline-functions -fno-function-cse -fno-inline -fno-peephole -fomit-frame-pointer -fschedule-insns -fschedule-insns2 -fstrength-reduce -fthread-jumps  -I/usr/local/BerkeleyDB.4.0/include -I/usr/include/mysql -I/home/users/structur/gte994y/Source/v162/include -I/home/users/structur/gte994y/Source/v162/OpenSees/OTHER/UMFPACK -I/home/users/structur/gte994y/Source/v162/OpenSees/OTHER/SuperLU_3.0/SRC  -I/usr/include -I/usr/include -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/matrix -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/nDarray -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/tagged -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/damage -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/tcl -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/uniaxial -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/uniaxial/fedeas -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/uniaxial/drain -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/uniaxial/snap -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/uniaxial/PY -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/backbone -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/state -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/state/stiffness -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/state/unloading -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/state/strength -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/soil -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/feap -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/Template3Dep -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/FiniteDeformation -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/FiniteDeformation/fdFlow -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/FiniteDeformation/fdYield -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/FiniteDeformation/fdEvolution -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/nD/cyclicSoil -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/repres/cell -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/repres/patch -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/repres/reinfBar -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/repres/reinfLayer -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/repres/section -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/fiber -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/section/yieldSurface -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/yieldSurface/evolution -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/yieldSurface/plasticHardeningMaterial -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/material/yieldSurface/yieldSurfaceBC -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/recorder -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/recorder/response -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/handler -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/database -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/renderer -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/convergenceTest -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/utility -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/channel -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/message -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/machineBroker -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/objectBroker -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/actor -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/shadow -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/actor/address -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/tagged/storage -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/domain -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/domain/single -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/component -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/component/storage -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/domain/partitioned -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/partitioner -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/loadBalancer -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/subdomain -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/region -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/node -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/load -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/pattern -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/groundMotion -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/constraints -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/domain/region -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/beam2d -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/beam3d -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/truss -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/fortran -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/feap -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/zeroLength -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/fourNodeQuad -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/beamWithHinges -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/dispBeamColumn -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/forceBeamColumn -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/elasticBeamColumn -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/8nbrick -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/20nbrick -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/27nbrick -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/upU -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/TotalLagrangianFD20NodeBrick -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/brick -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/shell -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/joint -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/updatedLagrangianBeamColumn -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/analysis -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/handler -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/numberer -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/algorithm -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/algorithm/eigenAlgo -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/algorithm/equiSolnAlgo -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/algorithm/domainDecompAlgo -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/model -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/model/simple -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/method -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/fe_ele -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/fe_ele/penalty -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/fe_ele/lagrange -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/fe_ele/transformation -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/dof_grp -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/analysis/integrator -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/modelbuilder -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/modelbuilder/triangle -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/modelbuilder/tcl -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/eigenSOE -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/slowMatrix -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/bandSPD -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/profileSPD -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/fullGEN -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/bandGEN -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/sparseGEN -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/sparseSYM -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/petsc -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/umfGEN -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/diagonal -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/cg -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/BJsolvers -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/linearSOE/itpack -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/system_of_eqn/eigenSOE -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/graph/graph -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/graph/numberer -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/graph/partitioner -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/nonlinearBeamColumn/element -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/nonlinearBeamColumn/fiber -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/nonlinearBeamColumn/matrixutil -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/element/nonlinearBeamColumn/quadrule -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/coordTransformation -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/analysis -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/convergenceCheck -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/curvature -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/designPoint -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/direction -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/gFunction -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/hessianApproximation -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/meritFunction -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/misc -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/randomNumber -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/rootFinding -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/sensitivity -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/stepSize -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/analysis/transformation -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/domain -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/domain/components -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/domain/distributions -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/domain/filter -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/domain/modulatingFunction -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/domain/spectrum -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/FEsensitivity -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/reliability/tcl -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC/unittest -I/home/users/structur/gte994y/Source/v162/OpenSees/SRC -I/home/users/structur/gte994y/Source/v162/OpenSees/OTHER/SuperLU_3.0/SRC 	 -c TclModelBuilder.cpp 
TclModelBuilder.cpp: In function `int TclModelBuilder_doBlock2D(void*, 
   Tcl_Interp*, int, const char**)':
TclModelBuilder.cpp:2379: unable to find a register to spill in class `AREG'
TclModelBuilder.cpp:2379: this is the insn:
(insn 2910 2906 2912 (parallel[ 
            (set (reg:SI 2 ecx [649])
                (unspec:SI[ 
                        (mem:BLK (reg/f:SI 5 edi [651]) [0 A8])
                        (reg:QI 4 sil [628])
                        (const_int 1 [0x1])
                        (reg:SI 3 ebx [627])
                    ]  0))
            (use (reg:SI 19 dirflag))
            (clobber (reg/f:SI 5 edi [651]))
            (clobber (reg:CC 17 flags))
        ] ) 623 {*strlenqi_1} (insn_list 2906 (insn_list 2909 (nil)))
    (expr_list:REG_DEAD (reg:SI 19 dirflag)
        (expr_list:REG_DEAD (reg:SI 3 ebx [627])
            (expr_list:REG_DEAD (reg:QI 4 sil [628])
                (expr_list:REG_DEAD (reg/f:SI 5 edi [651])
                    (expr_list:REG_UNUSED (reg/f:SI 5 edi [651])
                        (expr_list:REG_UNUSED (reg:CC 17 flags)
                            (expr_list:REG_EQUAL (unspec:SI[ 
                                        (mem:BLK (reg/f:SI 5 edi [651]) [0 A8])
                                        (reg:QI 4 sil [628])
                                        (const_int 1 [0x1])
                                        (reg:SI 3 ebx [627])
                                    ]  0)
                                (nil)))))))))
TclModelBuilder.cpp:2379: confused by earlier errors, bailing out
...
...
...
Any help is appreciated...
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Boris
Posts: 95
Joined: Mon Jun 14, 2004 3:57 pm
Location: UC Davis

WoWWWWWW

Post by Boris »

Hello Berk,

Give me a call or email me, I'll open you an account here to try it out...

BOris

Boris Jeremic
Associate Professor Phone 530.754.9248
Department of Civil and Fax 530.752.7872
Environmental Engineering Jeremic@ucdavis.edu
University of California Davis, 95616, CA
http://cee.engr.ucdavis.edu/faculty/jeremic/
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

have you added something to TclModelBuilder.cpp? .. you might also try my c++ flags


C++FLAGS = -D_LINUX -D_UNIX -D_TCL84 -D_MYSQL \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O2 -ffloat-store
berktaftali
Posts: 68
Joined: Fri Jul 02, 2004 6:10 am
Location: Computers and Structures, Inc.

Post by berktaftali »

have you added something to TclModelBuilder.cpp?
Nope.
you might also try my c++ flags
C++FLAGS = -D_LINUX -D_UNIX -D_TCL84 -D_MYSQL \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O2 -ffloat-store
I have the same flags :roll:
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Boris
Posts: 95
Joined: Mon Jun 14, 2004 3:57 pm
Location: UC Davis

try on sokocalo...

Post by Boris »

Berk,

try on my machine, copy everything that you have (there is plenty disk space) and run make, then you can chase the bug/feature and I can help...

I might have seen this stuff before...

also try fresh cvs checkout (in some other directory)...

Boris
Post Reply