dgasmith / gau2grid

Fast computation of a gaussian and its derivative on a grid.
https://gau2grid.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
29 stars 15 forks source link

CMAKE: enable fpic for static lib, enable generic build #4

Closed loriab closed 6 years ago

loriab commented 6 years ago

-[x] ~MAX_AM --> MAX_AM_ERI just so ppl don't have to remember a difference~ -[x] -DBUILD_FPIC now does something (build libgg.a with -fpic) -[x] add some flags so one can easily do an independent build. -DBUILD_SHARED_LIBS=ON -DENABLE_GENERIC=ON -DLIBC_INTERJECT=/home/psilocaluser/installs/glibc2.12/lib64/libc.so.6 with Intel comps yields:

ldd -v libgg.so 
    linux-vdso.so.1 =>  (0x00007ffd27e13000)
    libc.so.6 => /home/psilocaluser/installs/glibc2.12/lib64/libc.so.6 (0x00007fcce52a7000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fcce588f000)
    libdl.so.2 => /home/psilocaluser/installs/glibc2.12/lib64/libdl.so.2 (0x00007fcce50a3000)

    Version information:
    ./libgg.so:
        ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
        libc.so.6 (GLIBC_2.4) => /home/psilocaluser/installs/glibc2.12/lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /home/psilocaluser/installs/glibc2.12/lib64/libc.so.6
    /home/psilocaluser/installs/glibc2.12/lib64/libc.so.6:
        ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
        ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
    /home/psilocaluser/installs/glibc2.12/lib64/libdl.so.2:
        ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2
        libc.so.6 (GLIBC_PRIVATE) => /home/psilocaluser/installs/glibc2.12/lib64/libc.so.6
        libc.so.6 (GLIBC_2.2.5) => /home/psilocaluser/installs/glibc2.12/lib64/libc.so.6
codecov-io commented 6 years ago

Codecov Report

Merging #4 into master will not change coverage. The diff coverage is n/a.