necpp icon indicating copy to clipboard operation
necpp copied to clipboard

How to generate Makefile for src compile?. Failed Atlas_check.

Open minertom opened this issue 4 years ago • 0 comments

I assumed that before attempting a compile I would need to run the atlas_check.sh file. I did install the atlas development package and it is installed in /usr/lib/atlas, with permissions granted to the user.

-rw-r--r-- 1 tom tom  8689590 Apr  5 09:51 libblas.a
lrwxrwxrwx 1 tom tom       17 Apr  5 09:51 libblas.so -> libblas.so.3.10.3
lrwxrwxrwx 1 tom tom       17 Apr  5 09:51 libblas.so.3 -> libblas.so.3.10.3
-rw-r--r-- 1 tom tom  3938440 Apr  5 09:51 libblas.so.3.10.3
-rw-r--r-- 1 tom tom 12734022 Apr  5 09:51 liblapack.a
lrwxrwxrwx 1 tom tom       19 Apr  5 09:51 liblapack.so -> liblapack.so.3.10.3
lrwxrwxrwx 1 tom tom       19 Apr  5 09:51 liblapack.so.3 -> liblapack.so.3.10.3
-rw-r--r-- 1 tom tom  7073856 Apr  5 09:51 liblapack.so.3.10.3

when I run ./atlas_check.sh I get

/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
./atlas_check.sh: 3: ./atlas_check.sh: ./atlas_check: not found
rm: cannot remove 'atlas_check': No such file or directory
./atlas_check.sh: 5: ./atlas_check.sh: gfortran: not found
./atlas_check.sh: 6: ./atlas_check.sh: ./atlas_check: not found
rm: cannot remove 'atlas_check': No such file or directory
./atlas_check.sh: 8: ./atlas_check.sh: gfortran: not found
./atlas_check.sh: 9: ./atlas_check.sh: ./atlas_check: not found
rm: cannot remove 'atlas_check': No such file or directory

Also, how is the Makefile generated such that I can do a source compile?

Thank You Tom

minertom avatar Apr 05 '21 17:04 minertom