Open Bagoum opened 5 years ago
Workaround that works on WSL and vagrant:
Install gfortran
.
Download blas from here: http://www.netlib.org/blas/#_software
In the blas folder, run make
, it should give you a blas_LINUX.a
file. Put this in the folder {hw1}/lib
.
Change the LDLIBS line of the hw1 makefile to: LDLIBS = -lrt -L lib -l:blas_LINUX.a -lgfortran
.
make
should work with this.
Just adding -lblas
to explicitly link against the blas library should work.
Just adding -lblas to explicitly link against the blas library should work.
This worked for me.
Specifically, I edited the Makefile
to
LDLIBS = -lrt -lblas
The latest hw1 files should contain a new Makefile
that automatically selects the right flags for gcc
and icc
. Try redownloading the homework files and replacing your Makefile
.
make
works on Cori but when I run it on vagrant or WSL I get the following output: