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

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

Open
minertom opened this issue Apr 5, 2021 · 0 comments
Open

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

minertom opened this issue Apr 5, 2021 · 0 comments

Comments

@minertom
Copy link

minertom commented Apr 5, 2021

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

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

1 participant