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

Shell script used to build ASPECT for the CIDER 2015 conference VM #862

Closed
wants to merge 1 commit into from
Closed

Conversation

tjesser-ucdavis-edu
Copy link
Contributor

The script was written specifically for UbuntuLTS 14.04 compatibility, so it might not be useful enough to accept. I have recently tested it against an up-to-date 14.04.

The script is designed to work entirely in a subfolder and to not require any user input, except for the installation of the required Ubuntu packages. It grabs source code archives off the internet (and checks their SHA), then compiles everything into a usable executable. This can take 3+ hours, but the script can be interrupted at any time and resumed later.

The projects built are:

  • p4est
  • Trilinos
  • deal.ii
  • ASPECT

The script has a useful, documented CLI that allows for each step to be initiated individually. None of the compiled projects are installed on the host, they all remain in the created subfolder.

Please let me know if this script is worth keeping in the repo.

@tjhei
Copy link
Member

tjhei commented May 10, 2016

Hey Tyler,

I would like to point you at http://www.math.clemson.edu/~heister/dealvm/ which is a virtualbox image I am maintaining, which contains deal.II, ASPECT, and many other development tools. The scripts to generate the image are available at https://github.com/tjhei/dealii-vm and are as easy as following the steps in the README ("vagrant up" followed by launching the setup scripts to compile the libraries).

The same library versions and setup is used for the docker images (https://github.com/tjhei/docker-files/tree/experimental) that are used for the official ASPECT tester. There is a huge advantage in using the same library versions across "tester" and the virtual machines.

I would very much prefer if we use the same for the tutorials.

Is there any specific reason you are rolling your own? It would also be great to communicate with @bangerth and me regarding the system for the tutorials even if you decide to roll your own.

Note: I was holding back on the update of the virtual machine to deal 8.4.1 because I am in the process of making the next ASPECT release. Expect both to hit soon.

@tjhei
Copy link
Member

tjhei commented May 10, 2016

Is there any specific reason you are rolling your own? It would also be great to communicate with @bangerth and me regarding the system for the tutorials even if you decide to roll your own.

I am sorry if that sounded harsh. I somehow missed that you used that for CIDER and thought you are talking about the CIG general meeting that is coming up, my bad.

@ljhwang
Copy link
Contributor

ljhwang commented May 10, 2016

Hi Timo

When do you expect the next release for ASPECT ?

Lorraine Hwang
Sent from my iPhone

On May 10, 2016, at 4:08 AM, Timo Heister notifications@github.com wrote:

Hey Tyler,

I would like to point you at http://www.math.clemson.edu/~heister/dealvm/ which is a virtualbox image I am maintaining, which contains deal.II, ASPECT, and many other development tools. The scripts to generate the image are available at https://github.com/tjhei/dealii-vm and are as easy as following the steps in the README ("vagrant up" followed by launching the setup scripts to compile the libraries).

The same library versions and setup is used for the docker images (https://github.com/tjhei/docker-files/tree/experimental) that are used for the official ASPECT tester. There is a huge advantage in using the same library versions across "tester" and the virtual machines.

I would very much prefer if we use the same for the tutorials.

Is there any specific reason you are rolling your own? It would also be great to communicate with @bangerth and me regarding the system for the tutorials even if you decide to roll your own.

Note: I was holding back on the update of the virtual machine to deal 8.4.1 because I am in the process of making the next ASPECT release. Expect both to hit soon.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

@tjhei
Copy link
Member

tjhei commented May 10, 2016

@ljhwang hopefully this week.

(and I just updated the virtual machine linked above)

@gassmoeller
Copy link
Member

Hi Tyler,
sorry for the long silence on this PR. I think that we agree on using a better installation procedure for ASPECT than the previous manual installation. In #1818 we have more or less decided to use the candi script (https://github.com/dealii/candi) to automate the installation of deal.II, after which ASPECT is simple to install. Candi uses a similar approach of your script, but it works on different systems and is used by more (deal.II) users (=broader range of systems to test on). I will therefore close this PR in favor of unifying the installation instructions. Thanks for providing your script and raising the awareness of the issue 👍.

@gassmoeller gassmoeller closed this Jul 6, 2017
@tjesser-ucdavis-edu
Copy link
Contributor Author

No worries. Candi looks like a much better solution.

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

Successfully merging this pull request may close these issues.

None yet

4 participants