Skip to content

Conversation

@ozsoyisik
Copy link

Summary

In this pull request, package.py file was added for spack-exercise project, in which the necessary configurations for versions 0.1.0, 0.2.0, and 0.3.0 of the project were defined.

Installation & How To Run

Build Docker Container

docker build -t spack-exercise .
docker run -it --mount type=bind,src=..,dst=/mnt/host/ spack-exercise

Installation & Loading of Spack Package

spack create https://github.com/Simulation-Software-Engineering/spack-exercise/archive/refs/tags/v0.3.0.tar.gz

[Type 'a' then enter and type 'y' for all versions asked in the terminal.]
[Close Vim without changing anything (type ':q' and enter)]

Copy package.py into Proper Location

cp /mnt/host/spack-exercise/package.py /home/spackbuilder/.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/spack_exercise/package.py

v0.1.0 Demo

spack install spack-exercise@0.1.0
spack load spack-exercise@0.1.0
spackexample
spack unload spack-exercise@0.1.0

v0.2.0 Demo

spack install spack-exercise@0.2.0
spack load spack-exercise@0.2.0
spackexample
spack unload spack-exercise@0.2.0

v0.3.0 Demo

spack install spack-exercise@0.3.0
spack load spack-exercise@0.3.0
spackexample /mnt/host/spack-exercise/yamlParser/config.yml
spack unload spack-exercise@0.3.0

@IshaanDesai
Copy link
Member

Ok 👍

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.

2 participants