30 Commits

Author SHA1 Message Date
Radovan Bast
3349ddbe1d print MATH_LIB_SEARCH_ORDER; fixes #195 2017-05-15 17:01:20 +02:00
Radovan Bast
a32c9d6f46 more descriptive warning 2016-05-20 00:45:35 +02:00
Radovan Bast
e2ae1fac50 Merge branch 'master' into yaml 2016-05-20 00:12:31 +02:00
Radovan Bast
51cdb55c53 convert more modules to yaml 2016-05-19 23:57:24 +02:00
Radovan Bast
5b7ad87479 switch to .format() 2016-05-19 23:46:32 +02:00
Miro Iliaš
c4dcaaf0f8 Add "-ldl" for static linking
Hi Rado,

to fix dirac.x static linking ( OpenMPI+GNU+OPENBLAS ) I had to inser -ldl after -lpthread command.

Please proprage it into DIRAC repo. Thanks.
2016-05-16 20:44:45 +02:00
bast
6e5c91d04f add openblas 2016-01-23 15:53:05 +01:00
Miro Iliaš
f6063344e0 provide threaded essl library only
It's better to use threaded essl library on IBM AIX, could we have it please ?

Standard IBM AIX has both library types:
~~~
ilias@f01c10n02:~/work/qch/software/dirac/trunk/cmake/downloaded/.ar t /usr/lib/libesslsmp.a
essl.o
ilias@f01c10n02:~/work/qch/software/dirac/trunk/cmake/downloaded/.ar t /usr/lib/libessl.a
essl.o
ilias@f01c10n02:~/work/qch/software/dirac/trunk/cmake/downloaded/.
~~~
2015-12-23 08:43:26 +01:00
Radovan Bast
702955af3b add possibility to print deprecation warnings; fixes #148 2015-10-15 18:22:06 +02:00
Radovan Bast
d7019d7bec rm deprecation warning; see #148 2015-10-07 12:25:01 +02:00
Radovan Bast
fbbb710b76 add deprecation warning 2015-10-05 17:14:43 +02:00
Radovan Bast
a77125f6f1 rm whitespace 2015-09-10 08:29:11 +02:00
Miro Iliaš
978a221f72 math_libs.cmake: remove "-lc" linking flag, not necessary
Fix this linking problem found with DIRAC - remove "-lc" linking flag. 


~~~
Linking Fortran executable dirac_mointegral_export.x
/usr/lib64/libpthread.a(libpthread.o): In function `__libc_sigaction':
(.text+0x9a40): multiple definition of `__libc_sigaction'
/usr/lib64/libc.a(sigaction.o):(.text+0x20): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__connect_nocancel':
(.text+0x8e19): multiple definition of `__connect_nocancel'
/usr/lib64/libc.a(connect.o):(.text+0x9): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `fcntl':
(.text+0x8c60): multiple definition of `__libc_fcntl'
/usr/lib64/libc.a(fcntl.o):(.text+0xf0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__funlockfile':
(.text+0x99e0): multiple definition of `_IO_funlockfile'
/usr/lib64/libc.a(funlockfile.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `read':
(.text+0x8ab0): multiple definition of `__libc_read'
/usr/lib64/libc.a(read.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__open_nocancel':
(.text+0x92d9): multiple definition of `__open_nocancel'
/usr/lib64/libc.a(open.o):(.text+0x9): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__lseek_nocancel':
(.text+0x91b9): multiple definition of `__lseek_nocancel'
/usr/lib64/libc.a(llseek.o):(.text+0x9): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__read_nocancel':
(.text+0x8ab9): multiple definition of `__read_nocancel'
/usr/lib64/libc.a(read.o):(.text+0x9): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__libc_send':
(.text+0x8fe0): multiple definition of `__libc_send'
/usr/lib64/libc.a(send.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `close':
(.text+0x8b10): multiple definition of `__libc_close'
/usr/lib64/libc.a(close.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__open64':
(.text+0x92d0): multiple definition of `__libc_open'
/usr/lib64/libc.a(open.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__write_nocancel':
(.text+0x8a59): multiple definition of `__write_nocancel'
/usr/lib64/libc.a(write.o):(.text+0x9): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__close_nocancel':
(.text+0x8b19): multiple definition of `__close_nocancel'
/usr/lib64/libc.a(close.o):(.text+0x9): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__fcntl_nocancel':
(.text+0x8b70): multiple definition of `__fcntl_nocancel'
/usr/lib64/libc.a(fcntl.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `lseek64':
(.text+0x91b0): multiple definition of `__libc_lseek'
/usr/lib64/libc.a(llseek.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__sigaction':
(.text+0x9c40): multiple definition of `__sigaction'
/usr/lib64/libc.a(sigaction.o):(.text+0x220): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__funlockfile':
(.text+0x99e0): multiple definition of `__funlockfile'
/usr/lib64/libc.a(funlockfile.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__lll_lock_wait_private':
(.text+0x85a0): multiple definition of `__lll_lock_wait_private'
/usr/lib64/libc.a(libc-lowlevellock.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__libc_write':
(.text+0x8a50): multiple definition of `__libc_write'
/usr/lib64/libc.a(write.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__libc_connect':
(.text+0x8e10): multiple definition of `__libc_connect'
/usr/lib64/libc.a(connect.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `__lll_unlock_wake_private':
(.text+0x8730): multiple definition of `__lll_unlock_wake_private'
/usr/lib64/libc.a(libc-lowlevellock.o):(.text+0x30): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `raise':
(.text+0x98d0): multiple definition of `raise'
/usr/lib64/libc.a(raise.o):(.text+0x0): first defined here
/usr/lib64/libpthread.a(libpthread.o): In function `sem_open':
(.text+0x774d): warning: the use of `mktemp' is dangerous, better use `mkstemp'
make[3]: *** [dirac_mointegral_export.x] Error 2
make[2]: *** [CMakeFiles/dirac_mointegral_export.x.dir/all] Error 2
make[1]: *** [CMakeFiles/dirac_mointegral_export.x.dir/rule] Error 2
make: *** [dirac_mointegral_export.x] Error 2
~~~
2015-09-03 08:36:38 +02:00
Miro ILIAS
7665b883ac new test cc_cblas (closes #95)
- extended math_libs.cmake for C headers detection
- static_linking test included
- no int64 in the cc_cblas test
- released allocated memory
- adaptated for MS Windows (OpenBLAS)
2015-08-31 19:58:03 +02:00
Radovan Bast
abad6437c3 make the horror if statement easier to read 2015-08-30 17:29:19 +02:00
Miro ILIAS
2d8574ff2b fix static linking of blas/lapack with openblas 2015-08-30 16:54:55 +02:00
Radovan Bast
4b3a3a0007 Merge pull request #88 from miroi/fc_lapack_openblas
adapt fc_lapack test for MS Windows
2015-08-30 10:30:24 +02:00
Radovan Bast
cf570c3c5a cleanup 2015-08-28 21:07:28 +02:00
Radovan Bast
ca60aa3faf rm trailing whitespace 2015-08-28 21:05:06 +02:00
Miro ILIAS
d3d056c05b adapt the fc_lapack test for MS Windows with OpenBLAS library 2015-08-28 20:55:41 +02:00
Radovan Bast
de5cd2af19 cache BLAS/LAPACK_FOUND; fixes #72, fixes #73 2015-08-10 19:16:07 +02:00
Miro ILIAS
7150ae9793 adaptation of autocmake for the static linking 2015-08-10 15:34:30 +02:00
Miro ILIAS
b400c22628 update OpenBLAS library detection 2015-08-08 23:53:58 +02:00
Radovan Bast
faada401f4 module files are parsed for configuration by default 2015-07-28 12:22:11 +02:00
Radovan Bast
e14090c927 cache math lib result 2015-07-27 22:08:56 +02:00
Radovan Bast
808faccbd9 add -mkl flag to CMAKE_EXE_LINKER_FLAGS 2015-07-20 18:27:42 +02:00
Radovan Bast
b3e9f89b5c include for find_package_handle_standard_args; fixes #11 2015-06-22 22:45:39 +02:00
Radovan Bast
0c5690a34a extend module documentation 2015-06-20 13:10:00 +02:00
Radovan Bast
445f2ab184 extend module documentation 2015-06-20 12:52:39 +02:00
Radovan Bast
6c6f779b2d renames 2015-06-04 13:47:55 +02:00