Compile OpenSees on MacOS10.10.
Moderators: silvia, selimgunay, Moderators
Compile OpenSees on MacOS10.10.
Dear fmk,
I want to compile OpenSees on mac with OS10.10, but I didn't find the corresponding makefile online. Only makefiles for OS10.4, OS10.5, OS10.6 and OS10.8 are available. My question is that whether I can use "Makefile.def.MacOS10.8" instead, which is the newest one.
Thanks very much.
I want to compile OpenSees on mac with OS10.10, but I didn't find the corresponding makefile online. Only makefiles for OS10.4, OS10.5, OS10.6 and OS10.8 are available. My question is that whether I can use "Makefile.def.MacOS10.8" instead, which is the newest one.
Thanks very much.
Re: Compile OpenSees on MacOS10.10.
10.8 should still work .. the biggest task is compining gcc as you need a fortran compiler.
Re: Compile OpenSees on MacOS10.10.
Dear fmk,
Thanks for your reply.
How can I make sure to succeed in compiling gcc ?
Could you please give me some advices in details ?
Thanks very much.
Thanks for your reply.
How can I make sure to succeed in compiling gcc ?
Could you please give me some advices in details ?
Thanks very much.
Re: Compile OpenSees on MacOS10.10.
on a mac i had to follow these steps:
install Xcode from app store
start xcode, from menu select preferences, downloads. choose command line tools. click install
download and install GMP 4.2+ (http://gmplib.org),
bunzip2 gmp.XXX.bz2
cd gmp.XXX;
./configure --prefix=/usr/local; make; make install;
download and install MPFR 2.4.0+ (http://www.mpfr.org)
gunzip mpfr.XXX.gz2
cd mpc.XXX
./configure --prefix=/usr/local; make; make install and
download and install MPC 0.8.0+ (ww.multiprecision.org)
gunzip mpc.xxx.gz2; cd mpc.xxx; ./configure --prefix=/usr/local; make; make install
download gcc
gunzip gcc-XXX; cd gcc-XXX;
./configure --prefix=/usr/local/gcc —with-gmp=/usr/local --enable-languages=c,objc,c++,obj-c++,fortran
make; make install
install Xcode from app store
start xcode, from menu select preferences, downloads. choose command line tools. click install
download and install GMP 4.2+ (http://gmplib.org),
bunzip2 gmp.XXX.bz2
cd gmp.XXX;
./configure --prefix=/usr/local; make; make install;
download and install MPFR 2.4.0+ (http://www.mpfr.org)
gunzip mpfr.XXX.gz2
cd mpc.XXX
./configure --prefix=/usr/local; make; make install and
download and install MPC 0.8.0+ (ww.multiprecision.org)
gunzip mpc.xxx.gz2; cd mpc.xxx; ./configure --prefix=/usr/local; make; make install
download gcc
gunzip gcc-XXX; cd gcc-XXX;
./configure --prefix=/usr/local/gcc —with-gmp=/usr/local --enable-languages=c,objc,c++,obj-c++,fortran
make; make install
Re: Compile OpenSees on MacOS10.10.
Dear fmk,
I have no more words to say except thanks. Thank you so much!
Your advices save me a lot of time. It's so nice of you.
Again, thank you.
I have no more words to say except thanks. Thank you so much!
Your advices save me a lot of time. It's so nice of you.
Again, thank you.
-
- Posts: 1
- Joined: Thu May 28, 2015 11:09 am
- Location: University of Central Florida
- Contact:
Re: Compile OpenSees on MacOS10.10.
I am a new MAC user, I have done the steps as you stated and it worked for me, just the first step was different, i am writing here, it might help other users as well:
Open xcode, from menu go to Open Developer tool, select More Developer Tools..., safari will pop up and you should sign in with your apple account to the apple's developer website, after singed in from the list find Command line tools, download it and install it. then follow the same steps as stated before.
I hope it helps
Open xcode, from menu go to Open Developer tool, select More Developer Tools..., safari will pop up and you should sign in with your apple account to the apple's developer website, after singed in from the list find Command line tools, download it and install it. then follow the same steps as stated before.
I hope it helps
Re: Compile OpenSees on MacOS10.10.
I also followed the steps shown by prof. fmk, but I get the errors below:
-----------------------------------------------------------------------------------
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
g++: error:unrecognized command line option ‘-Wl’
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
-----------------------------------------------------------------------------------
So dear mehrdadagg, could you show me your makefile ? I think there is something wrong with my makefile.
-----------------------------------------------------------------------------------
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
g++: error:unrecognized command line option ‘-Wl’
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
-----------------------------------------------------------------------------------
So dear mehrdadagg, could you show me your makefile ? I think there is something wrong with my makefile.
Re: Compile OpenSees on MacOS10.10.
Dear Prof. fmk,
I followed the steps you suggested, but I still get some errors below:
----------------------------------------------------------------------------------------------------
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libBlas.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libBlas.a the table of contents is empty (no object file members in the library define global symbols)
ar cqls /Users/fangming/lib/libCBlas.a idamax.o dasum.o daxpy.o dcopy.o ddot.o dnrm2.o drot.o dscal.o \
dgemv.o dsymv.o dtrsv.o dger.o dsyr2.o dmyblas2.o
ranlib /Users/fangming/lib/libCBlas.a
make[1]: Nothing to be done for `all'.
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libLapack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libLapack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libAMD.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libAMD.a the table of contents is empty (no object file members in the library define global symbols)
Makefile:152: warning: overriding commands for target `.c.o'
../../../Makefile.def:259: warning: ignoring old commands for target `.c.o'
Makefile:155: warning: overriding commands for target `.f.o'
../../../Makefile.def:262: warning: ignoring old commands for target `.f.o'
ar cqls /Users/fangming/lib/libSuperLU.a \
dgssv.o dgssvx.o dsp_blas2.o dsp_blas3.o dgscon.o dlangs.o dgsequ.o dlaqgs.o dpivotgrowth.o dgsrfs.o dgstrf.o dgstrs.o dcopy_to_ucol.o dsnode_dfs.o dsnode_bmod.o dpanel_dfs.o dpanel_bmod.o dreadhb.o dreadrb.o dreadtriple.o dcolumn_dfs.o dcolumn_bmod.o dpivotL.o dpruneL.o dmemory.o dutil.o dmyblas2.o dgsisx.o dgsitrf.o dldperm.o ilu_ddrop_row.o ilu_dsnode_dfs.o ilu_dcolumn_dfs.o ilu_dpanel_dfs.o ilu_dcopy_to_ucol.o ilu_dpivotL.o ddiagonal.o superlu_timer.o util.o memory.o get_perm_c.o mmd.o sp_coletree.o sp_preorder.o sp_ienv.o relax_snode.o heap_relax_snode.o colamd.o ilu_relax_snode.o ilu_heap_relax_snode.o mark_relax.o mc64ad.o qselect.o lsame.o xerbla.o dlacon.o dlamch.o
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
ranlib /Users/fangming/lib/libSuperLU.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
Unknown target BandGenLinSOE_Single.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target ProfileSPDLinSolverGather.o, try: make help
Unknown target ProfileSPDLinSOEGather.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target HardeningMaterial2.o, try: make help
Unknown target TclImpactMaterial.o, try: make help
Unknown target KinematicHardening.o, try: make help
Unknown target TclKinematicHardening.o, try: make help
Unknown target TclNewUnixialMaterial.o, try: make help
Unknown target PenaltyMaterial.o, try: make help
Unknown target WrappedMaterial.o, try: make help
Unknown target SecantMaterial.o, try: make help
Unknown target ConfinedConcrete02.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target Elliptical.o, try: make help
Unknown target McftSection2dfiber.o, try: make help
make[5]: Nothing to be done for `all'.
Unknown target PenaltyHandlerNoHomoSPMultipliers.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target MonitoredAccelerator.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target GaussQBeamIntegration.o, try: make help
Unknown target d1mach.o, try: make help
make[3]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
Makefile:152: warning: overriding commands for target `.c.o'
../../../Makefile.def:259: warning: ignoring old commands for target `.c.o'
Makefile:155: warning: overriding commands for target `.f.o'
../../../Makefile.def:262: warning: ignoring old commands for target `.f.o'
ar cqls /Users/fangming/lib/libSuperLU.a \
dgssv.o dgssvx.o dsp_blas2.o dsp_blas3.o dgscon.o dlangs.o dgsequ.o dlaqgs.o dpivotgrowth.o dgsrfs.o dgstrf.o dgstrs.o dcopy_to_ucol.o dsnode_dfs.o dsnode_bmod.o dpanel_dfs.o dpanel_bmod.o dreadhb.o dreadrb.o dreadtriple.o dcolumn_dfs.o dcolumn_bmod.o dpivotL.o dpruneL.o dmemory.o dutil.o dmyblas2.o dgsisx.o dgsitrf.o dldperm.o ilu_ddrop_row.o ilu_dsnode_dfs.o ilu_dcolumn_dfs.o ilu_dpanel_dfs.o ilu_dcopy_to_ucol.o ilu_dpivotL.o ddiagonal.o superlu_timer.o util.o memory.o get_perm_c.o mmd.o sp_coletree.o sp_preorder.o sp_ienv.o relax_snode.o heap_relax_snode.o colamd.o ilu_relax_snode.o ilu_heap_relax_snode.o mark_relax.o mc64ad.o qselect.o lsame.o xerbla.o dlacon.o dlamch.o
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
ranlib /Users/fangming/lib/libSuperLU.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
g++: error:unrecognized command line option ‘-Wl’
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
----------------------------------------------------------------------------------------------------------
more useful information:
1) I can compile the same file in Ubuntu 14.04 with "Makefile.def.EC2-UBUNTU".
2) I am using the "Makefile.def.MacOS10.8" in MacOS10.10. I know that others succeed in building OpenSees in MacOS10.10 with Makefile. def.MacOS10.8.
But I can't understand the problems I met. So could you please give me some more advices. Thanks very much.
I followed the steps you suggested, but I still get some errors below:
----------------------------------------------------------------------------------------------------
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libBlas.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libBlas.a the table of contents is empty (no object file members in the library define global symbols)
ar cqls /Users/fangming/lib/libCBlas.a idamax.o dasum.o daxpy.o dcopy.o ddot.o dnrm2.o drot.o dscal.o \
dgemv.o dsymv.o dtrsv.o dger.o dsyr2.o dmyblas2.o
ranlib /Users/fangming/lib/libCBlas.a
make[1]: Nothing to be done for `all'.
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libLapack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libLapack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libAMD.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libAMD.a the table of contents is empty (no object file members in the library define global symbols)
Makefile:152: warning: overriding commands for target `.c.o'
../../../Makefile.def:259: warning: ignoring old commands for target `.c.o'
Makefile:155: warning: overriding commands for target `.f.o'
../../../Makefile.def:262: warning: ignoring old commands for target `.f.o'
ar cqls /Users/fangming/lib/libSuperLU.a \
dgssv.o dgssvx.o dsp_blas2.o dsp_blas3.o dgscon.o dlangs.o dgsequ.o dlaqgs.o dpivotgrowth.o dgsrfs.o dgstrf.o dgstrs.o dcopy_to_ucol.o dsnode_dfs.o dsnode_bmod.o dpanel_dfs.o dpanel_bmod.o dreadhb.o dreadrb.o dreadtriple.o dcolumn_dfs.o dcolumn_bmod.o dpivotL.o dpruneL.o dmemory.o dutil.o dmyblas2.o dgsisx.o dgsitrf.o dldperm.o ilu_ddrop_row.o ilu_dsnode_dfs.o ilu_dcolumn_dfs.o ilu_dpanel_dfs.o ilu_dcopy_to_ucol.o ilu_dpivotL.o ddiagonal.o superlu_timer.o util.o memory.o get_perm_c.o mmd.o sp_coletree.o sp_preorder.o sp_ienv.o relax_snode.o heap_relax_snode.o colamd.o ilu_relax_snode.o ilu_heap_relax_snode.o mark_relax.o mc64ad.o qselect.o lsame.o xerbla.o dlacon.o dlamch.o
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
ranlib /Users/fangming/lib/libSuperLU.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
Unknown target BandGenLinSOE_Single.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target ProfileSPDLinSolverGather.o, try: make help
Unknown target ProfileSPDLinSOEGather.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target HardeningMaterial2.o, try: make help
Unknown target TclImpactMaterial.o, try: make help
Unknown target KinematicHardening.o, try: make help
Unknown target TclKinematicHardening.o, try: make help
Unknown target TclNewUnixialMaterial.o, try: make help
Unknown target PenaltyMaterial.o, try: make help
Unknown target WrappedMaterial.o, try: make help
Unknown target SecantMaterial.o, try: make help
Unknown target ConfinedConcrete02.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target Elliptical.o, try: make help
Unknown target McftSection2dfiber.o, try: make help
make[5]: Nothing to be done for `all'.
Unknown target PenaltyHandlerNoHomoSPMultipliers.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target MonitoredAccelerator.o, try: make help
make[4]: Nothing to be done for `all'.
Unknown target GaussQBeamIntegration.o, try: make help
Unknown target d1mach.o, try: make help
make[3]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libOpenSees.a the table of contents is empty (no object file members in the library define global symbols)
Makefile:152: warning: overriding commands for target `.c.o'
../../../Makefile.def:259: warning: ignoring old commands for target `.c.o'
Makefile:155: warning: overriding commands for target `.f.o'
../../../Makefile.def:262: warning: ignoring old commands for target `.f.o'
ar cqls /Users/fangming/lib/libSuperLU.a \
dgssv.o dgssvx.o dsp_blas2.o dsp_blas3.o dgscon.o dlangs.o dgsequ.o dlaqgs.o dpivotgrowth.o dgsrfs.o dgstrf.o dgstrs.o dcopy_to_ucol.o dsnode_dfs.o dsnode_bmod.o dpanel_dfs.o dpanel_bmod.o dreadhb.o dreadrb.o dreadtriple.o dcolumn_dfs.o dcolumn_bmod.o dpivotL.o dpruneL.o dmemory.o dutil.o dmyblas2.o dgsisx.o dgsitrf.o dldperm.o ilu_ddrop_row.o ilu_dsnode_dfs.o ilu_dcolumn_dfs.o ilu_dpanel_dfs.o ilu_dcopy_to_ucol.o ilu_dpivotL.o ddiagonal.o superlu_timer.o util.o memory.o get_perm_c.o mmd.o sp_coletree.o sp_preorder.o sp_ienv.o relax_snode.o heap_relax_snode.o colamd.o ilu_relax_snode.o ilu_heap_relax_snode.o mark_relax.o mc64ad.o qselect.o lsame.o xerbla.o dlacon.o dlamch.o
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
ranlib /Users/fangming/lib/libSuperLU.a
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libSuperLU.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libArpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/fangming/lib/libUmfpack.a the table of contents is empty (no object file members in the library define global symbols)
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Nothing to be done for `tcl'.
make[2]: Nothing to be done for `tcl'.
g++: error:unrecognized command line option ‘-Wl’
make[1]: *** [tcl] Error 1
make: *** [all] Error 2
----------------------------------------------------------------------------------------------------------
more useful information:
1) I can compile the same file in Ubuntu 14.04 with "Makefile.def.EC2-UBUNTU".
2) I am using the "Makefile.def.MacOS10.8" in MacOS10.10. I know that others succeed in building OpenSees in MacOS10.10 with Makefile. def.MacOS10.8.
But I can't understand the problems I met. So could you please give me some more advices. Thanks very much.
Re: Compile OpenSees on MacOS10.10.
Dear mehrdadagg, thanks for your post on Fri Jun 12, 2015 9:46 am, I found it useful. Please also note this article,
http://osxdaily.com/2014/02/12/install- ... -mac-os-x/
which speaks to the installation of the Command Line Tools in OS X Mavericks and Yosemite, without Xcode.
Dear fangming, regarding your post Sat Jun 13, 2015 4:14 am, and Sat Jan 13, 2015 4:43 am, please see
http://opensees.berkeley.edu/community/ ... 11#p104511
and related. I think it can assist you.
-cbh
http://osxdaily.com/2014/02/12/install- ... -mac-os-x/
which speaks to the installation of the Command Line Tools in OS X Mavericks and Yosemite, without Xcode.
Dear fangming, regarding your post Sat Jun 13, 2015 4:14 am, and Sat Jan 13, 2015 4:43 am, please see
http://opensees.berkeley.edu/community/ ... 11#p104511
and related. I think it can assist you.
-cbh
Re: Compile OpenSees on MacOS10.10.
not sure what version of g++ you have .. but you can pen the Makefile.def and remove the -Wl option from the C++ Flags or linker (wherever it is just search for it in the file)
-
- Posts: 3
- Joined: Mon Apr 23, 2018 1:25 am
- Location: India
- Contact:
Re: Compile OpenSees on MacOS10.10.
From where did you download the source code?