Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCT should build out-of-source #9

Open
quantheory opened this issue Jan 8, 2015 · 2 comments
Open

MCT should build out-of-source #9

quantheory opened this issue Jan 8, 2015 · 2 comments

Comments

@quantheory
Copy link
Contributor

Right now, CESM (and presumably ACME) has to copy several files from the source tree after running configure, in order to build out-of-source. I'm not sure what the best way is to address this using autoconf, but it seems like either the path to these files needs to be changed somewhere (from relative to absolute?), or the configure script should copy these files.

@rljacob
Copy link
Contributor

rljacob commented Mar 30, 2015

Are you referring to the Makefile and Makefile.conf files that are copies from the MCT source to the bld/intel/mpi-serial/nodebug/nothreads/mct or similar directory? The mct.buildlib script used to copy everything but that was eliminated at some point (prior to beta10).

@quantheory
Copy link
Contributor Author

@rljacob Yes, I think that we're mostly on the same page. The point is that it would be good to be able to check out MCT by itself (without some larger model) and be able to do out-of-source builds. The buildlib.mct in CIME's Machines directory does this now, but it's not part of MCT. I don't think that changing this would be that difficult, but I don't know autotools well enough to propose a specific change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants