Windows versus Unix?

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
BRYGN
Posts: 4
Joined: Thu Mar 17, 2005 5:34 am

Windows versus Unix?

Post by BRYGN » Mon Mar 21, 2005 12:16 pm

I have been working for a while on a windows platform and I am presently using OpenSees 1.6.1.d. Right now I am in a model development stage but I will soon be to the point where I need to run many analyses. I have recently been given access to a Linux machine to run these simulations (transient). It is currently installed with the latest stable version 1.6.0. (This is my first time using Linux).

I am finding that a number of my models, which run fine under windows, are failing to converge on the Linux machine. At first I thought it was a difference between versions 1.6.1.d and 1.6.0, but I have run the same models on my Windows machine with 1.6.0 and had no problems. I would really like to get to where I can use the Linux machine as the processing time is much less. Does anyone have any idea why I am seeing this phenomenon? If so is there something I can do to remedy this.

Thanks

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

Post by fmk » Mon Mar 21, 2005 2:22 pm

the differences are due to the code being produced by the compilers. the windows
and linux compilers optimize differently.

first off you might as well get the latest code:

you use cvs to get the latest files .. cd to the OpenSees directory
and issue the following two commands:

cvs -d :pserver:anonymous@opensees.berkeley.edu:/usr/local/cvs login

for password type: anonymous

cvs -d :pserver:anonymous@opensees.berkeley.edu:/usr/local/cvs update -d

then you may need to change your c++ flags in the Makefile.def you have created:
here is what i currently use .. the -ffloat-store turns out to be very important due
to issues with roundoff and using results stored in registers when the results are small.

C++FLAGS = -D_LINUX -D_UNIX -D_TCL84 -D_MYSQL \
$(GRAPHIC_FLAG) $(RELIABILITY_FLAG) $(DEBUG_FLAG) \
$(PROGRAMMING_FLAG) -O2 -ffloat-store

Boris
Posts: 95
Joined: Mon Jun 14, 2004 3:57 pm
Location: UC Davis

linux execs...

Post by Boris » Thu Apr 07, 2005 12:29 pm

or use the latest executables for linux available at:

http://sokocalo.engr.ucdavis.edu/~jerem ... S/?C=M&O=D

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/

Post Reply