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

Can't build the dependencies #2

Open
vikramjit-sidhu opened this issue Oct 15, 2020 · 3 comments
Open

Can't build the dependencies #2

vikramjit-sidhu opened this issue Oct 15, 2020 · 3 comments

Comments

@vikramjit-sidhu
Copy link

I'm facing the following issue when I try to build the dependencies of ARCSim.

System

Ubuntu 18.04

Steps to Reproduce

  • Download the package
  • Go to the dependencies directory and type make

Error Log:

cd taucs && ./configure module=\!METIS && make
./configure: 27: ./configure: [[: not found
make[1]: Entering directory '/data/vikramjit/code/garment_models/garment_simulation/arcsim/dependencies/taucs'
make[1]: 'configurator/configurator' is up to date.
make[1]: Leaving directory '/data/vikramjit/code/garment_models/garment_simulation/arcsim/dependencies/taucs'

make[1]: Entering directory '/data/vikramjit/code/garment_models/garment_simulation/arcsim/dependencies/taucs'
cc -c -O3 -Wall -std=c99   -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/   \
  progs/taucs_blas_underscore_test.c \
  -oobj/linux/taucs_blas_underscore_test.o
cc   \
  -oobj/linux/taucs_blas_underscore_test \
  obj/linux/taucs_blas_underscore_test.o -llapack -lblas -lgfortran -lm 
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_blas_underscore_test build/linux/taucs_config_tests.h
make[1]: obj/linux/taucs_blas_underscore_test: Command not found
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99   -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/   \
  progs/taucs_blas_nounderscore_test.c \
  -oobj/linux/taucs_blas_nounderscore_test.o
cc   \
  -oobj/linux/taucs_blas_nounderscore_test \
  obj/linux/taucs_blas_nounderscore_test.o -llapack -lblas -lgfortran -lm 
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_blas_nounderscore_test build/linux/taucs_config_tests.h
make[1]: obj/linux/taucs_blas_nounderscore_test: Command not found
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99   -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/   \
  progs/taucs_c99_complex_test.c \
  -oobj/linux/taucs_c99_complex_test.o
cc   \
  -oobj/linux/taucs_c99_complex_test \
  obj/linux/taucs_c99_complex_test.o -llapack -lblas -lgfortran -lm 
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_c99_complex_test build/linux/taucs_config_tests.h
make[1]: obj/linux/taucs_c99_complex_test: Command not found
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99   -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/   \
  progs/taucs_cilk_test.c \
  -oobj/linux/taucs_cilk_test.o
progs/taucs_cilk_test.c:8:10: fatal error: cilk.h: No such file or directory
 #include <cilk.h>
          ^~~~~~~~
compilation terminated.
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 1 (ignored)
cc   \
  -oobj/linux/taucs_cilk_test \
  obj/linux/taucs_cilk_test.o -llapack -lblas -lgfortran -lm 
cc: error: obj/linux/taucs_cilk_test.o: No such file or directory
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_cilk_test build/linux/taucs_config_tests.h
make[1]: obj/linux/taucs_cilk_test: Command not found
build/linux/makefile:22: recipe for target 'build/linux/taucs_config_tests.h' failed
make[1]: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99   -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/   \
-DTAUCS_CORE_GENERAL \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt.o
In file included from src/taucs_sn_llt.c:13:
src/taucs.h:6:10: fatal error: taucs_config_tests.h: No such file or directory
 #include <taucs_config_tests.h>
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
build/linux/makefile:51: recipe for target 'obj/linux/taucs_sn_llt.o' failed
make[1]: *** [obj/linux/taucs_sn_llt.o] Error 1
make[1]: Leaving directory '/data/vikramjit/code/garment_models/garment_simulation/arcsim/dependencies/taucs'
Makefile:18: recipe for target 'lib/libtaucs.a' failed
make: *** [lib/libtaucs.a] Error 2
@DanielTakeshi
Copy link
Owner

Apologies, I haven't had the time to look at Arc sim in any detail since I wrote this repo. Were you able to resolve it?

@sking8
Copy link

sking8 commented Oct 12, 2021

I had the same issue.
"cannot find -lgfortran" is the first error here. You need to check the gfortran version using "gfortran --version".
If it is "7.5.0" you need to compile with "make CC=gcc-7" to make the gcc version match the gfortran version.

@ZeyingXuHuaWei
Copy link

I have the same error. is this problem solved?

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

No branches or pull requests

4 participants