Can't get it to work
Poolshark opened this issue · comments
Me again...
I'm trying to get this library to work since hours. I have to admit that I'm always having problems with external libraries.
Anyway, first of all I wanted to point out that building the library into a folder does not work. With
make PREFIX=fdict install
(when I want to build the library into the source folder) gives me the error:
mkdir -p fdict/include
mkdir -p fdict/lib
mkdir -p fdict/bin
install -pm 755 -t fdict/lib libfdict.a
install: cannot stat 'libfdict.a': No such file or directory
smeka/Makefile.install:16: recipe for target 'smeka-install-lib' failed
make: *** [smeka-install-lib] Error 1
I can build the library in the directory using make
only. I tried to do to things from there
- copy all generated files to a folder. Copied the
test_dict.f90
and thetest_utls.f90
to a folder. Having the everything in a different location:
test-fdict/
|-lib/ <-- contains library files
|-src/ <-- contains source files (.f90)
dict.make <-- FOBOS make file
- Linked the entire folder
fdict-master
when compiling test_fdict.f90
Non of the above work (at least not with my FOBOS makefile). Could you help with this?
Sorry, my fault again.
First issue: first do make
then do make PREFIX=fdict install
(obviously)
Second issue. Had a wrong filename linked - very stupid. Does work now even though I get the error that
call system is not included in the selected standard
Commented the subroutine out in tst_utils.f90
and I was able to successfully compile and run tst_dict.f90
.
Sorry for being ridiculous...
No worries, yes, the system command is not part of intel compiler suite...
Glad you got it working.