Compiling OpenSees for MacOS Catalina 10.15

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

Moderators: silvia, selimgunay, Moderators

Post Reply
gastonf
Posts: 1
Joined: Thu Nov 04, 2010 1:19 pm
Location: Universidad Tecnica Federico Santa Maria
Contact:

Compiling OpenSees for MacOS Catalina 10.15

Post by gastonf »

Dear OpenSees Community,

I would like to ask your support to solve the following issue. I'm trying to compile OpenSees from source in my Macbook Pro with MacOS Catalina 10.15.1. After forking the source from GitHub, and cloning to my computer, I faced the following problems:

The OpenSees folder was located in /Users/MyUserName/Documents/Github/OpenSees after cloning. From this location, I received several error messages, which I attribute to the fact that Makefile.def is pointing the source to /Users/MyUserName/OpenSees. I don't know if I can compile anywhere else in my directory. To circumvent this problem, I moved the source to /Users/MyUserName/OpenSees.

Then, I received the error that folder /Users/MyUserName/OpenSees/OTHER/SuperLU_4.1/ is missing. Indeed, this folder is not present in the version I forked from GitHub. So, I modified the Makefile.def file as follows:

SUPERLU_DISTdir = $(HOME)/OpenSees/OTHER/SuperLU_DIST_2.5/SRC

Now, I receive one fatal error message related to SuperLU and other missing files

clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/zeroLength/TclZeroLength.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/forceBeamColumn/TclForceBeamColumnCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/coordTransformation/TclGeomTransfCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/joint/TclJoint2dCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/joint/TclJoint3dCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/joint/TclBeamColumnJointCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dYS.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclElement2dGNL.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/updatedLagrangianBeamColumn/TclCyclicModelCommands.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/damage/TclModelBuilderDamageModelCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/UP-ucsd/TclFourNodeQuadUPCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/TclElementCommands.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/dispBeamColumnInt/TclDispBeamColumnIntCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/elasticBeamColumn/TclElasticBeamCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/fourNodeQuad/TclFourNodeQuadCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/brick/TclTwenty_Node_BrickCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/brick/TclBrickCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/feap/TclFeapElementCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/beamWithHinges/TclBeamWithHingesBuilder.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/frictionBearing/frictionModel/TclModelBuilderFrictionModelCommand.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/element/PFEMElement/TclModelBuilder_addPFEMElement.o' clang: error: no such file or directory: '/Users/gferman/OpenSees/SRC/api/elementAPI_TCL.o' clang: error: no such file or directory: '/Users/gferman/lib/libOpenSees.a' clang: error: no such file or directory: '/Users/gferman/lib/libArpack.a' clang: error: no such file or directory: '/Users/gferman/lib/libSuperLU.a' clang: error: no such file or directory: '/Users/gferman/lib/libUmfpack.a' clang: error: no such file or directory: '/Users/gferman/lib/libAMD.a' clang: error: no such file or directory: '/Users/gferman/lib/libItpack.a' clang: error: no such file or directory: '/Users/gferman/lib/libLapack.a' clang: error: no such file or directory: '/Users/gferman/lib/libCSparse.a' clang: error: no such file or directory: '/Users/gferman/lib/libBlas.a' clang: error: no such file or directory: '/Users/gferman/lib/libCBlas.a' clang: error: no such file or directory: '/usr/local/lib/libgfortran.a'

I used Makefile.def.MacOS10.8 as a template, and made the modifications described above. Attached you can find the terminal output for reference.
terminal-output.txt

Thanks,

-Gaston
Gaston Fermandois, PhD
Assistant Professor
UTFSM, Chile
Post Reply