Opened 5 years ago
Closed 5 years ago
#4149 closed enhancement (fixed)
Binary installation of AmberTools
Reported by: | Tom Goddard | Owned by: | pett |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Build System | Version: | |
Keywords: | Cc: | chimera-programmers | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Since installing AmberTools20 requires not only the installation of gfortran, but a version older than the current version, make pre-compiled binaries an option (and the default) for installation.
Change History (8)
comment:1 by , 5 years ago
follow-up: 2 comment:2 by , 5 years ago
On Mac I compiled AmberTools with gfortran from gcc 8.2. I believe it linked to libgfortran.dylib, but there is a libgfortran.a so possibly AmberTools can be told to statically link.
comment:3 by , 5 years ago
Priority: | moderate → high |
---|
comment:4 by , 5 years ago
In the Makefile for a prereq, is there any way to tell which Linux variant this compile is for? So that I can have each build machine upload/download the "appropriate" prebuilt tarball?
comment:6 by , 5 years ago
So revise my suggesstion, if statically linking works, I'd recommend building it once with the CentOS 7 singularity image. Ideally, only the fortran libraries should be statically linked, but that might be harder.
comment:7 by , 5 years ago
Okay, uploaded an AmberTools Makefile that will upload Mac/Windows binaries once they're built. If that all works fine tonight then I will work on the Linux flavors and will switch over the Mac/Windows builds to using those prebuilt binaries.
comment:8 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
On Linux, a pre-compiled binary only makes sense if it is precompiled for each variant. That is because the fortran runtine that is used by our lowest common denominator system (CentOS 7), is not available for Ubuntu 20.04.