-
Notifications
You must be signed in to change notification settings - Fork 30
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
GEMPAK & Ubuntu 20.04 #57
Comments
@whatheway sorry about the non-response here. There's not much in the way of developer resources here and sadly, I have no interest in Ubuntu :) But, some of the updates done for this to better compile on RHEL8, may have helped Ubuntu too. Are you able to give the current |
Sorry, I must have missed this issue too. I run Ubuntu exclusively, though I haven't gone to 20.04 on any of my production machines yet. Below are the notes I have for 18.04, but I haven't tested these commands in a few years:
I also plan on testing 7.14 with Ubuntu 20.04 soon, hopefully this week. I'll report back with what I find on that expedition. |
I did run into another issue compiling 7.5.1 for Ubuntu 18.04 and found a work-around. I'm not a big fan of installing it like this, but I never ran into any problems after the install so there's that. Here are the notes I made on that installation issue and work-around: https://www.unidata.ucar.edu/mailing_lists/archives/gembud/2020/msg00000.html |
I got 7.14 to install on Ubuntu 20.04, but I'm not 100% of the way there yet... Here's the apt install command that got me going: I don't seem to need those two external libxp packages I used before, libxpm4 and libxpm-dev appear to work instead. I also ran into some issues installing HDF5, which is why I put libhdf5-dev there, but I may not have actually needed that. And yes I know gfortran is listed twice; I installed the base version before I discovered I needed gfortran-8, keeping both here since that's what got me this far. I still needed to apply my above hack with 20.04 ships with gfortran version 9, which breaks this install. I had to install gfortran-8 and edit @akrherz You might want to know about the gfortran issue. CentOS-7 ships with an older version so this probably hasn't bit many people yet. What I specifically ran into was a problem with IAND very similar to this one. Either we could just keep rolling with gfortran-8 and hope that remains easy to install, or the more proper fix would be to update the parts that break with version 9, but I'm thinking that'd be much more involved. I'll probably break this into a separate issue soon. All of that got me through the install, but I'm not able to open up nmap2. The window starts to load then crashes with the following errors:
xfonts-100dpi and xfonts-75dpi did install so I'm not sure what the problem here is; I never use nmap so I'm a little out of my element here. I'm going to try to clean up this process a little more and will test some of the other programs another time, have to walk away from this now though. |
@mzuranski The issue with gfortran should be solved by #44 . As for the fonts, have you rebooted since installing xfonts-100dpi and xfonts-75dpi? |
Oh neat, that fix is much simpler than I thought it would be! I'll test that on my next install instead of gfortran-8.
No... Dang it... Nmap2 loads just fine now. Thanks @sgdecker! |
@mzuranski one of the goals I'd like to implement within this issue is to add a Github Actions CI job that builds GEMPAK on ubuntu, which is the default OS for runners. Presently, our CI runners are only using centos 6 and centos 7 docker images. |
Once you get it figured out can you write a better tutorial for install?
…On Thu, Mar 3, 2022, 4:25 PM Mike Zuranski ***@***.***> wrote:
The issue with gfortran should be solved by #44
<#44>
Oh neat, that fix is much simpler than I thought it would be! I'll test
that on my next install instead of gfortran-8.
As for the fonts, have you rebooted since installing xfonts-100dpi and
xfonts-75dpi?
No... Dang it... Nmap2 loads just fine now.
Thanks @sgdecker <https://github.com/sgdecker>!
—
Reply to this email directly, view it on GitHub
<#57 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATF3TC6J6MDV5WFJU4CMFGTU6E34HANCNFSM42CE6WDQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I just spun up a fresh Ubuntu 20.04 VM, below are some cleaner instructions to get Gempak installed: 1. Install dependencies: 2. Reboot From here on it is assumed you're logged in as user 3. Download and extract Gempak: 4. Edit your Gemenviron file to fit your environment: Pay special attention to the 5. Source Gemenviron at login: 6. Source Gemenviron now: 7. Symlink to the Ubuntu Makefile: 7.1. Work-around issue #42: If you're installing this before #44 is included: 8. Begin the build process:
Optional: 10. Install: Optional: |
Fresh install instructions for Ubuntu, using Gempak 7.14.0.1 release and Ubuntu 20.04: 1. Install dependencies: 2. Reboot From here on it is assumed you're logged in as user 3. Download and extract Gempak:
4. Edit your Gemenviron file to fit your environment: Pay special attention to the 5. Source Gemenviron at login: 6. Source Gemenviron now: 7. Symlink to the Ubuntu Makefile:
8. Begin the build process:
Optional:
9. Install: Optional: |
@akrherz How do you feel about editing Gemenviron and Gemenviron.profile to have the NAWIPS var preset to the release version? Right now it's being set to |
@mzuranski I've long boggled a better approach for the variables set in these scripts, but haven't settled on a solution. I think we should add code that dynamically sets that variable based on the directory location of the source script, but also add code that detects if that variable is already set and not over-ride it. Thoughts? |
I fully support this! If anything, I'd at least consider changing |
Good morning, Thank you for working on this. I'm going to try to build a self install script for GEMPAK using all of your suggestions. I will keep you updated on my progress. |
I'm thinking about making my self install script point to that directory and then let the user comment it out if it needs to change to the default directory. |
Sorry didn't mean to close this issue. |
I recently finished my self install script for the current version of GEMPAK. I hope you have the time to take a look at it on my Github. I made a few changes in the steps so that users can stay in their home directory for GEMPAK. Please let me know what you think. https://github.com/whatheway/GEMPAK Regards, |
Do either of you have experience with GARP to get Gempak to visualize |
As much as GEMPAK is old and not supported, GARP is even more so and should not be used. yes, I have gotten it to compile and run, but it fails and segfaults at various random times. |
Thanks for contributing this. |
Trying to install GEMPAK on Ubuntu 20.04 and having no success.
The tutorial online is written for centOS/Redhat and the libraries required for Ubuntu do not translate across.
Can a tutorial for Ubuntu be created since it is one of the most popular Linux flavors?
The text was updated successfully, but these errors were encountered: