About compilling cms on gfortran

721 views
Skip to first unread message

lalv...@uabcs.mx

unread,
May 10, 2018, 2:49:52 PM5/10/18
to connectivity-modeling-system-club
Hello All

I'm new at the CMS and i'm trying to run the CMS with gfortran compiler and with a i7 intel processor and have some problems.

1) I already comment/remove the lines as the 3.1 Installing dependencies section says
2) and get to the 3.3.1 Configuring the Makefile section and then 'make'

I attach two files one with my mpi_compiler file and the other with the error i get
I hope you could give me a hand on this

Thanks in advance
mpi_compiler
Error1_CompilingLog.txt

bexeross

unread,
May 11, 2018, 5:07:20 AM5/11/18
to connectivity-modeling-system-club

Hi all,

 

Re: your specific problem


The collect2: error: ld returned 1 exit status means that there are other errors above, and in summary there has been at least one error. The cms error is responding to this. You can see that you have a whole bunch of stuff that has “referencia a … sin definer” – i.e. it can’t find a reference to the definition for that function. And that all seems to relate to the netcdf-fortran-4.4.2 so that is what you need to try and solve. Did you test your installation of netcdf/netcdf fortran when you installed them? Did they work ok? Always run the make test or make check scripts during installation, to make sure the dependent programs have/will install correctly.

 

**INSTALLATION HELP**

 

This is the hardest part of the process – getting the CMS installed. Unfortunately I know now why they never gave specific instructions for installation, since people are working on completely different systems all customised in different ways, and with different versions of dependent software.

 

I have had to install CMS on multiple systems over the years, or had systems get updated and brake my software – I have had problems literally every time I’ve had to install it, despite keeping lots of notes on the matter. So persevere you’ll get there in the end, but it is a very steep learning curve (or at least was for me).

 

I haven’t got time to go down this whole rabbithole with you right now though, so instead I am about to attach (too much for one post):

-         -  Notes from three different installations I have made, in case there are any tips in there (use as a guide for things to look for, don’t assume the same thing will work on your system)

-         -  A little startup kit I made with tar balls of dependents I know have worked before, and a shell script for installing the CMS which I made with my husband’s help. The idea here is that I needed to install it so often (every few months thanks to lots of issue at my institution) that if I had a program that would install it all for me, it would be so much simpler! You can try this, but you will definitely need to edit it for your system. Once edited you should be able to just type install_connectivity and it should happen, or let you know if there are any issues along the way.

 

Good luck.

 

All the best,

Bex

1stCMS_install.pdf
2ndCMS_MPI_included.pdf
3rdHPC_CMS_fotcluster2.pdf

bexeross

unread,
May 11, 2018, 5:21:38 AM5/11/18
to connectivity-modeling-system-club
Hi again,

Apparently the setup kit is too large to attach, so I attach here my install_connectivity.sh script, and the tar balls I keep in stock are listed here with places you can download them from (at least you can right now):


You absolutely can get things working with more up to date dependencies, but if you have issues you can always download these (you may have to search for them if these source links break) with my assurances that you can get things working with them using the install_connectivity.sh script as a basis. 

All the best,
Bex
install_connectivity.sh
Reply all
Reply to author
Forward
0 new messages