How to build parallel version of OpenSees on Solaris 10

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

Moderators: silvia, selimgunay, Moderators

Post Reply
sri_nekkanti
Posts: 3
Joined: Mon Apr 30, 2007 4:32 am

How to build parallel version of OpenSees on Solaris 10

Post by sri_nekkanti »

Hi,

I want to build parallel version of 'OpenSees' with 'MPI' on 'Solaris 10'. Is it supported? If, could you please help me what to be added in Makefile.def to build as parallel version?


And also I'm getting the below errors while building on Solaris 10, please help me to fix them,

-----------------Errors-----------------------
In file included from FatigueMaterial.cpp:47:
/export/home/sguser/srinivas/openseesCVS/OpenSees/SRC/material/uniaxial/FatigueMaterial.h:104: error: expected unqualified-id before numeric constant
FatigueMaterial.cpp: In constructor `FatigueMaterial::FatigueMaterial(int, UniaxialMaterial&, double, double, double, double, double)':
FatigueMaterial.cpp:72: error: non-lvalue in assignment
FatigueMaterial.cpp: In constructor `FatigueMaterial::FatigueMaterial()':
FatigueMaterial.cpp:124: error: non-lvalue in assignment
FatigueMaterial.cpp: In member function `virtual double FatigueMaterial::getStress()':
FatigueMaterial.cpp:179: warning: unused variable 'modifier'
FatigueMaterial.cpp:180: warning: unused variable 'damageloc'
FatigueMaterial.cpp: In member function `virtual double FatigueMaterial::getTangent()':
FatigueMaterial.cpp:208: warning: unused variable 'damageloc'
FatigueMaterial.cpp: In member function `virtual int FatigueMaterial::commitState()':
FatigueMaterial.cpp:309: error: non-lvalue in assignment
FatigueMaterial.cpp:311: error: non-lvalue in assignment
FatigueMaterial.cpp: In member function `virtual int FatigueMaterial::revertToStart()':
FatigueMaterial.cpp:611: error: non-lvalue in assignment
FatigueMaterial.cpp: In member function `virtual int FatigueMaterial::recvSelf(int, Channel&, FEM_ObjectBroker&)':
FatigueMaterial.cpp:748: error: non-lvalue in assignment
gmake: *** [FatigueMaterial.o] Error 1

-----------------Errors-----------------------

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

Post by fmk »

i have made the change to cvs for this .. the compiler didn't like the variable CS .. i renamed it. after you get the sequential version built, you then need to add a PROGRAMMING_MODE = PARALLEL or PARALLEL_INTERPRETERS to your Makefile.def to build one of the 2 parallel interpreters we provide.
Post Reply