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

ISSM: transition to GitHub repo #167

Closed
aidanheerdegen opened this issue Nov 19, 2024 · 3 comments · Fixed by #172
Closed

ISSM: transition to GitHub repo #167

aidanheerdegen opened this issue Nov 19, 2024 · 3 comments · Fixed by #172

Comments

@aidanheerdegen
Copy link
Member

ISSM code was under subversion but is now hosted on GitHub

https://github.com/ISSMteam/ISSM

The spack package should be updated to use this as the code source

https://github.com/ACCESS-NRI/spack-packages/blob/main/packages/issm/package.py

@aidanheerdegen
Copy link
Member Author

Talking to @headmetal I think we need to first fork the ISSM repo to ACCESS-NRI, and use that.

@aidanheerdegen
Copy link
Member Author

aidanheerdegen commented Nov 28, 2024

Tried a test build of the current package with spack/0.22

spack install ism

The scalapack package failed to build with errors like

     160    /scratch/tm70/axxXXX/tmp/spack-stage/spack-stage-netlib-scalapack-2.2.0-hid6wnaqdo47dn3g4bzs6iuqlou56biv/spack-src/BLACS/
            SRC/igamx2d_.c: In function 'igamx2d_':                                                                                   
  >> 161    /scratch/tm70/axxXXX/tmp/spack-stage/spack-stage-netlib-scalapack-2.2.0-hid6wnaqdo47dn3g4bzs6iuqlou56biv/spack-src/BLACS/ 
            SRC/igamx2d_.c:201:7: error: implicit declaration of function 'BI_imvcopy'; did you mean 'BI_zmvcopy'? [-Wimplicit-functi
            on-declaration]                                                                                                                162      201 |       BI_imvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff);                                                         
     163          |       ^~~~~~~~~~                                                                                                 
     164          |       BI_zmvcopy                                                                                                 
  >> 165    /scratch/tm70/axxXXX/tmp/spack-stage/spack-stage-netlib-scalapack-2.2.0-hid6wnaqdo47dn3g4bzs6iuqlou56biv/spack-src/BLACS/
            SRC/igamx2d_.c:280:13: error: implicit declaration of function 'BI_ivmcopy'; did you mean 'BI_cvmcopy'? [-Wimplicit-funct
            ion-declaration]                                                                                                 
     166      280 |             BI_ivmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);                                                  
     167          |             ^~~~~~~~~~                                                                                           
     168          |             BI_cvmcopy                                                                           

According to this issue on the GitHub repo this happens with gcc/14 and can be solved by building with gcc/13

Reference-ScaLAPACK/scalapack#97

So I tested again with

spack install issm %gcc@13

which built scalapack without issue.

Unfortunately it stalled at the ISSM build because it needs a password for the svn server

[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/automake-1.16.5-3pzpcjcdrqpt3iaqy3zeqzqjybalbjtf
==> Installing issm-develop-olwa5wltn77pspqbxzptfedjet57v72s [28/28]
==> No binary for issm-develop-olwa5wltn77pspqbxzptfedjet57v72s found: installing from source
Authentication realm: <https://issm.ess.uci.edu:443> Your s383 passwd
Password for 'xxxxxx': 

Perhaps this was always an issue and required creds to be a available in a .subversion config file?

Will try modifying the package file and switching to GitHub source.

@aidanheerdegen
Copy link
Member Author

Compiled successfully with changes in #172

$ spack install issm %gcc@13
[+] /usr (external glibc-2.28-rmko4qyyetyn6neqs7tnuusqbllgwbnb)
[+] /usr (external perl-5.26.3-fzd77youpv65w3iats7nxqytxqdqo4bm)
==> [email protected] : has external module in ['openmpi/4.1.5']
[+] /apps/openmpi/4.1.5 (external openmpi-4.1.5-72pqqsfuruvk7bj4z2hpjt6gj24nbvcu)                                           
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-14.1.0/gcc-runtime-14.1.0-qukvuocm7w3d226pa4tnari6lgx4daoa
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/zlib-ng-2.1.6-cp374wsrjqbx6mkdthgcf5das2g3al4l 
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/pkgconf-2.2.0-jlurhmknayaryh2buqeu2k4j6r2cu65o 
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/findutils-4.9.0-2h54tywt2h6edhy5akvawj2tsehrhg6c[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/automake-1.16.5-3pzpcjcdrqpt3iaqy3zeqzqjybalbjtf
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/m1qn3-3.3-icpphnvskhuwkdtyq3gfmwzq433235vb
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/openblas-0.3.26-hxo276xs6nnzuvi5q7jtcso2ivevj5su[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/metis-5.1.0-g5gv6j4wxslksmtg2emgx4xlb5qfxfby   
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/gmake-4.4.1-4gmfgeb35fj3snq7icyur56acxm2htp2   
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/libtool-2.4.7-bzoo7xah654rew5qdnjieqetrvq33izi 
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/hypre-2.31.0-h7zqxqr7oidx6ij7jltss3utcthklwbq  
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/netlib-scalapack-2.2.0-rh4algkgme552t76dy2uvle7alrino6n
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/hdf5-1.14.3-xu2tn7rqf57ufnropro72wm5tgadh6el   
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/parmetis-4.0.3-h2rdc7lumyqolmhhevai33vjbefaa3ca
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/libsigsegv-2.14-g5jyrqrez75o6tmjfe7snz2bebqv4362
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/superlu-dist-8.2.1-c6qawvgbijmhgtrv3ow6gffp3qnnw7ho
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/mumps-5.6.2-l6du5tjofbrhm4wrlihyytp2vmcmmbzt   
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/m4-1.4.19-45kmz7zyso7xaqq2db3kpt7h4wkfi6vf     
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/petsc-3.21.1-rkfrl4eesj4xge2nvspfqajwpwkq7s7b  
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/autoconf-2.72-xumkhk7b4hv5reb7w7mehzqjrt2xecfk 
==> Installing issm-4.24-jkmku74v4g3zdqjjyokpravl3zckcv7c [24/24]
==> No binary for issm-4.24-jkmku74v4g3zdqjjyokpravl3zckcv7c found: installing from source                                  
==> Fetching https://github.com/ISSMteam/ISSM/archive/refs/tags/v4.24.tar.gz
==> No patches needed for issm
==> issm: Executing phase: 'autoreconf'
==> issm: Executing phase: 'configure'
==> issm: Executing phase: 'build'
==> issm: Executing phase: 'install'
==> issm: Successfully installed issm-4.24-jkmku74v4g3zdqjjyokpravl3zckcv7c                                                 
  Stage: 10.89s.  Autoreconf: 12.18s.  Configure: 39.95s.  Build: 5m 24.19s.  Install: 9.71s.  Post-install: 2.55s.  Total: 6m 43.76s
[+] /g/data/tm70/axxXXX/spack/0.22/release/linux-rocky8-x86_64_v4/gcc-13.2.0/issm-4.24-jkmku74v4g3zdqjjyokpravl3zckcv7c

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 a pull request may close this issue.

1 participant