Exawind / exawind-manager

Dev-Ops tooling and configuration management for ExaWind development
2 stars 8 forks source link

exawind-manager on Eagle #84

Closed gantech closed 4 months ago

gantech commented 4 months ago

I'm not sure this is worth addressing given Eagle is going down soon. But we got some spare cycles to run on Eagle before it's retired. I'm unable to compile ExaWind on Eagle. I get the following error. I'd appreciate any help in the next day or so.


(/home/gvijayak/.conda-envs/new) [gvijayak@el3 sviv]$ quick-create-dev -s nalu-wind@master~openfast
+ spack manager create-dev-env -s nalu-wind@master~openfast
==> Warning: Specified machine None was not found. To see registered machines run `spack manager find-machine --list`
+ spack env activate --dir /lustre/eaglefs/scratch/gvijayak/exawind-manager/environments/sviv --prompt```
psakievich commented 4 months ago

Try

$ quick-create-dev -m eagle -s nalu-wind@master~openfast

to manually set the machine and get the configs from eagle. You can see these options by running quick-create-dev --help.

gantech commented 4 months ago

Thanks Phil. Here's what I get

(/home/gvijayak/.conda-envs/new) [gvijayak@el3 sviv]$ quick-create-dev -m eagle -s nalu-wind@master~openfast
+ spack manager create-dev-env -m eagle -s nalu-wind@master~openfast
==> Error: Specified machine eagle was not found. To see registered machines run `spack manager find-machine --list`

ERROR: Exiting quick-create prematurely
(/home/gvijayak/.conda-envs/new) [gvijayak@el3 sviv]$ spack manager find-machine --list
Project:     Machine:    Detected: (+/-)
------------------------------------------------------------
(/home/gvijayak/.conda-envs/new) [gvijayak@el3 sviv]$
psakievich commented 4 months ago

Something is wrong in your environment/how you installed exawind-manager. It is not registering exawind-manager's information with the spack-manager framework. Running spack manager add $EXAWIND_MANAGER and then run spack manager find-machine --list

You should see something like this:

$ spack manager find-machine --list
Project:     Machine:    Detected: (+/-)
------------------------------------------------------------
exawind-manager      ellis   -
exawind-manager      cts-1   -
exawind-manager      perlmutter      -
exawind-manager      azure   -
exawind-manager      summit      -
exawind-manager      eagle   -
exawind-manager      aurora      -
exawind-manager      sunspot     -
exawind-manager      kestrel     -
exawind-manager      rhodes      -
exawind-manager      frontier    -
exawind-manager      darwin      +
exawind-manager      e4s     -
exawind-manager      cee     -
gantech commented 4 months ago

Thanks Phil. That seems to have solved the problem. I didn't realize I had to do anything to install exawind-manager. This is what I've done so far... am I missing something

export EXAWIND_MANAGER=/scratch/gvijayak/exawind-manager
source /scratch/gvijayak/exawind-manager/start.sh
source /scratch/gvijayak/exawind-manager/configs/eagle/env.sh
spack-start
gantech commented 4 months ago

In any case.. the requirements for python and perl have gone up with exawind-manager. I'm unable to get both of them right. We can close this ticket as Eagle retires in 3 days and is probly not worth the effort any longer.

[sviv] (/home/gvijayak/.conda-envs/new) [gvijayak@el3 sviv]$ spack install
==> Error: Version requirement 5.32.0 on perl for perl cannot match any known version from package.py or externals