Comments (17)
I was thinking somewhere on this readme: https://github.com/statnet/computing/tree/master/build
from epimodelhpc.
as we discussed, I changed
#!/bin/bash
. /gscratch/csde/spack/spack/share/spack/setup-env.sh
module load r-4.0.0-gcc-9.2.0-p7wezul
to
#!/bin/bash
. /gscratch/csde/spack/spack/share/spack/setup-env.sh
spack load [email protected]
and it gives me the following error:
==> Error: No compilers for operating system centos7 satisfy spec [email protected]
is there something I am doing differently than you?
from epimodelhpc.
Hmm... no I think it is the same. After you run setup-env
can you do: spack find
and report the results here.
from epimodelhpc.
I get this:
[aleguil@mox1 ~]$ . /gscratch/csde/spack/spack/share/spack/setup-env.sh
[aleguil@mox1 ~]$ spack find
==> 170 installed packages
-- linux-centos7-broadwell / [email protected] --------------------------
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected]
[email protected] [email protected] [email protected]
-- linux-centos7-haswell / [email protected] ----------------------------
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] lua-luafilesystem@1_7_0_2 [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] [email protected] [email protected] [email protected]
[email protected] is present but I still get the error
==> Error: No compilers for operating system centos7 satisfy spec [email protected]
from epimodelhpc.
Can you restart your session, load spack, and then run spack compiler find
. Then try spack load
from epimodelhpc.
[aleguil@mox1 ~]$ . /gscratch/csde/spack/spack/share/spack/setup-env.sh
[aleguil@mox1 ~]$ spack compiler find
==> Found no new compilers
==> Compilers are defined in the following files:
/usr/lusers/aleguil/.spack/linux/compilers.yaml
[aleguil@mox1 ~]$ spack load [email protected]
==> Error: No compilers for operating system centos7 satisfy spec [email protected]
from epimodelhpc.
what do you have listed here: ~/.spack/linux/compilers.yaml
from epimodelhpc.
I was actually looking into it:
compilers:
- compiler:
paths:
cc: /usr/bin/gcc
cxx: /usr/bin/g++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
operating_system: centos7
target: x86_64
modules: []
environment:
unset: []
extra_rpaths: []
flags: {}
spec: [email protected]
from epimodelhpc.
ok try this: spack load [email protected], spack compiler find (this should add 9.2.0 to your .yaml), restart session, load spack, spack load [email protected]
from epimodelhpc.
does not work either.
[aleguil@mox1 linux]$ spack load [email protected]
[aleguil@mox1 linux]$ spack load [email protected]
==> Error: No compilers for operating system centos7 satisfy spec [email protected]
I think I need to do
spack find <path to gcc 9.2>
to register it
from epimodelhpc.
wait, did you do spack compiler find after spack load [email protected]?
from epimodelhpc.
no, just spack load [email protected]
from epimodelhpc.
try this sequence, as suggested above:
spack load [email protected], spack compiler find (this should add 9.2.0 to your .yaml), restart session, load spack, spack load [email protected]
from epimodelhpc.
my bad, I read to fast.
It worked this time.
from epimodelhpc.
excellent, can you add this step to any instructions on statnet/computing?
I had it listed here, but this is out of date, and pertains to building GCC and R (mostly for me): https://github.com/statnet/computing/wiki/Build-Hyak-Stack-from-Scratch-with-Spack
anything that lists using spack load
needs to include this step of updating the compiler yaml with spack compiler find
from epimodelhpc.
On it, where on the repo do you want me to put that info?
- wiki? Build-Hyak-Stack-from-Scratch-with-Spack?
- reproducible env readme?
- other
from epimodelhpc.
I updated the "loadR.sh" file in "build" and added an explanation on how to correct the missing compiler error.
I also modified the "reproducible env" README saying that "loadR.sh" should be copied in the project's folder. I made linked to the "build" README so the user can know where to look
from epimodelhpc.
Related Issues (20)
- Equivalent function to deactivate.edges HOT 3
- Function initialize_cp HOT 1
- Solidify new HPC methods from ALG into EpiModelHPC HOT 1
- EpiModelHPC: define a way to run all the calibrations at once on HPC and gather the final calibrated model. HOT 1
- add a slurmworkflow step_tmpl for scenarios with replication
- Implement checkpointing Slurm HOT 9
- wrong batch number in the log of `step_tmpl_netsim_scenarios` HOT 1
- merge_simfiles might be not working? HOT 1
- make `step_tmpl_renv_restore` init renv if not done
- revisit the tests
- Runs don't parallelize across cores when nsims = ncores (ie with only one node) HOT 19
- Fix vignette / doc related to `netsim_scenarios`
- Use [email protected] from `module` in SPH HOT 1
- merge_simfiles not working again HOT 9
- issue with merge_netsim_scenarios HOT 7
- Update sbatch_master to output --ntasks instead of --cpus_per_task HOT 2
- `spack unload -a` still necessary
- `netsim_scenarios`: use future instead of inner parallelization
- do not `rep` the scenario list in `netsim_scenarios`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epimodelhpc.