RajLabMSSM / echofinemap

echoverse module: Statistical and functional fine-mapping functions.
2 stars 1 forks source link

Finemap missing dependency in macOS #9

Closed tillandlauer closed 2 years ago

tillandlauer commented 3 years ago

FINEMAP won't run on a Mac unless Zstandard is installed (error message: dyld: Library not loaded: /usr/local/lib/libzstd.1.dylib), see: http://www.christianbenner.com Mac OSX users: If you see dyld: Library not loaded: /usr/local/lib/libzstd.1.dylib, install Zstandard.. The Zstandard lib (https://facebook.github.io/zstd/) can be installed in macOS using brew install zstd. Please consider adding this library to the install routine!

bschilder commented 3 years ago

Hi @tillandlauer, thanks for bringing this up! This is something I've been trying to figure how to best resolve for a while. Installing via brew assumes the user is using a mac and has brew installed, which I could probably write some checks for. Then there's also the issues with root privileges, for installing brew. And of course, we'd need another solution for Linux/Windows users.

I've also explored using zstd installed via conda. But from what I recall, FINEMAP wasn't able to find this installation of ztd and doesn't have an argument to specify where zstd is.

Ideally, zstandard would be included in FINEMAP itself, but I haven't heard of any plans to do this.

So in the end I thought it best to just give user the warning message. But I'll revisit this now and see if I can come up with a better solution. Any suggestions for how to implement this are welcome!

bschilder commented 3 years ago

I've also noticed that following the instructions from http://www.christianbenner.com/ to install zstd to solve this issue with FINEMAPv1.4 doesn't seem to work on my Mac either (though this does not appear to be an issue on Linux). This is why I have echolocatoR then default to v1.3 upon failing with v1.4. I've reached out to the FINEMAP author to see if he can provide a fix for this.

bschilder commented 2 years ago

Response from FINEMAP author, Christian Benner, who replied a long time ago but just documenting here now for users:

There error message below is saying that you are missing a file in that location. Have you tried to install GCC compiler version 8 using brew install gcc@8? If that doesnโ€™t create the directory and copies the files in there then I would create the directory myself and put a symbolic link.

brew install

Following these instructions on my Mac:

brew install gcc@8

However, the output indicates I already have gcc8 installed:

Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/cask and homebrew/cask-fonts).
==> New Formulae
burst                        crytic-compile               ghorg                        linux-headers@5.15           pymol                        slither-analyzer
cargo-crev                   dsda-doom                    git-sync                     lucky-commit                 rdb                          solc-select
censys                       gcc@11                       go@1.18                      ouch                         ripsecrets                   svt-av1
cql-proxy                    gcem                         libvatek                     purescript-language-server   rush-parallel                swiftdraw
==> New Casks
aliwangwang              decentr                  font-maple               glance-chamburr          micromamba               playcover-community      trunk-io
bookwright               filen                    font-nabla               goxel                    mints                    qspace-pro               virtualbuddy
chromium-gost            font-amiri-quran         fresh                    httpie                   moderndeck               texifier                 yubihsm2-sdk
cider                    font-cairo-play          gittyup                  imhex                    nanoem                   tl-legacy

You have 82 outdated formulae and 3 outdated casks installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

Warning: gcc@8 8.5.0 is already installed and up-to-date.
To reinstall 8.5.0, run:
  brew reinstall gcc@8

Just in case there are multiple versions of gcc installed on my computer, I checked which version is being defaulted to in the terminal:

which gcc 
# /usr/bin/gcc

/usr/bin/gcc -v
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Not sure why clang is coming up instead of gcc, but this might be related.

brew reinstall

 brew reinstall gcc@8

Full output messages:

``` ==> Downloading https://ghcr.io/v2/homebrew/core/isl/manifests/0.25 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/isl/blobs/sha256:568dd08209728ad3a036cf45287ff8384b9ed821460a216a9a79fa80fdcfbf52 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:568dd08209728ad3a036cf45287ff8384b9ed821460a216a9a79fa80fdcfbf52?se=2022-08-27T18%3A55%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/8/manifests/8.5.0-1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/8/blobs/sha256:438d5902e5f21a5e8acb5920f1f5684ecfe0c645247d46c8d44c2bbe435966b2 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:438d5902e5f21a5e8acb5920f1f5684ecfe0c645247d46c8d44c2bbe435966b2?se=2022-08-27T18%3A55%3A0 ######################################################################## 100.0% ==> Reinstalling gcc@8 ==> Installing dependencies for gcc@8: isl ==> Installing gcc@8 dependency: isl ==> Pouring isl--0.25.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/isl/0.25: 73 files, 7.4MB ==> Installing gcc@8 ==> Pouring gcc@8--8.5.0.monterey.bottle.1.tar.gz ๐Ÿบ /usr/local/Cellar/gcc@8/8.5.0: 1,405 files, 282MB ==> Running `brew cleanup gcc@8`... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). ==> Upgrading 6 dependents of upgraded formula: Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`). gcc 11.3.0_2 -> 12.2.0, hdf5 1.13.0 -> 1.12.2_1, netcdf 4.8.1_1 -> 4.8.1_3, openblas 0.3.20 -> 0.3.21, numpy 1.22.2 -> 1.23.2, gdal 3.4.1_2 -> 3.5.1_2 ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/manifests/1.9.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/lz4/blobs/sha256:88b369cea90a0a119c24aa96a614fe7d77de58d18cb1803023dc925679eb905f ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:88b369cea90a0a119c24aa96a614fe7d77de58d18cb1803023dc925679eb905f?se=2022-08-27T18%3A55%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.2.6 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:853c17e5062001c0bf5d59875b7fcda3610438747680187586f96db93395fc11 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:853c17e5062001c0bf5d59875b7fcda3610438747680187586f96db93395fc11?se=2022-08-27T18%3A55%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/12.2.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:78fa1f5b51d730e933e5ecdd01a814a6bda5cf6ce48d4fbf4509c012ba373545 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:78fa1f5b51d730e933e5ecdd01a814a6bda5cf6ce48d4fbf4509c012ba373545?se=2022-08-27T18%3A55%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.21 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:fbbdca509a96aab530e9eeebb003e70213a72d06220a89a5e36b56ad89ca0bf3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:fbbdca509a96aab530e9eeebb003e70213a72d06220a89a5e36b56ad89ca0bf3?se=2022-08-27T18%3A55%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libaec/manifests/1.0.6 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/48d68ad44cb80773078814bf9ab07abf75fae62b28cc634138d9054361a1eb31--libaec-1.0.6.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libaec/blobs/sha256:2d40180340fb2ac382a9324d049dde7ab47f13d9ec812c9df6656dbd0ea91ffd Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/fc38995f8db88fc66293897f6f495b1faa1f8283fad78702f68b1d990cff6d44--libaec--1.0.6.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/hdf5/manifests/1.12.2_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/hdf5/blobs/sha256:ee1e47f8d2ddf6b5ad900265a8d9a820e11aec0d9cf0b0fa3539192d75da47c3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ee1e47f8d2ddf6b5ad900265a8d9a820e11aec0d9cf0b0fa3539192d75da47c3?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/netcdf/manifests/4.8.1_3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/netcdf/blobs/sha256:a46f8045fed47d3517e49bb733988b692786fb39d8af34d6df0bedbf91aab28c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a46f8045fed47d3517e49bb733988b692786fb39d8af34d6df0bedbf91aab28c?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/numpy/manifests/1.23.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/numpy/blobs/sha256:8015542dac17e451d03eb099a7ff619495cb401114f27a8a0a617cf01dc0306f ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:8015542dac17e451d03eb099a7ff619495cb401114f27a8a0a617cf01dc0306f?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/cfitsio/manifests/4.1.0 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/972665b09b661044442b0971bdda87a51c1361d993d65b963243cd95672e591e--cfitsio-4.1.0.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/cfitsio/blobs/sha256:62cf2942b05394dc7b906aba1fc6b2b27c24caf81fc85263d1697ed488fc230a Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/c676683e15c3ea672c0a5af40551378b4eea170568fefc6ecde692acf0a620f5--cfitsio--4.1.0.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/expat/manifests/2.4.8 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/01fcfd811dac21f1772164b5747837b6cf6120313f667722d14204861c236bf4--expat-2.4.8.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/expat/blobs/sha256:4a4f446d62d57087d1220c8bc145c0025b50086b94a9edaa2776d7246c5a0e6f Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/3fbec7af887cac4c5445e980d3f56761477fe2915a230074afe51d1cd2334606--expat--2.4.8.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/geos/manifests/3.11.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/geos/blobs/sha256:f8f1bd048260aa996c233a61f102f80c4eb045e9922a5c7896974f177fb24956 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:f8f1bd048260aa996c233a61f102f80c4eb045e9922a5c7896974f177fb24956?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-turbo/manifests/2.1.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-turbo/blobs/sha256:d2d17e1b59fd7aff903b1b6d15209aa304de4bf974881c11700600f0d7bd486a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d2d17e1b59fd7aff903b1b6d15209aa304de4bf974881c11700600f0d7bd486a?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/json-c/manifests/0.16 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/d6fa3e04144d72dcca3f6012e33386b407e609eced7a3965e388dfed6ba39bce--json-c-0.16.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/json-c/blobs/sha256:2d032280aa3e434671354c91a191b865f8de9290f5f8fba2336cac88037c1f33 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/0068a6dca5b2b5ad25ac091338f2bc144d69da77d33fdf98589af13fb4437636--json-c--0.16.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/libxml2/manifests/2.10.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libxml2/blobs/sha256:aade7642cb495560c63626f4abf643674e0c80c3967d1df3510fcbefb3ca30ce ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:aade7642cb495560c63626f4abf643674e0c80c3967d1df3510fcbefb3ca30ce?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2022-07-19_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:9e0df163364a5ae07f3ee2cf39083cd74bcb38eeb5250b706e1c02f878d8d632 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:9e0df163364a5ae07f3ee2cf39083cd74bcb38eeb5250b706e1c02f878d8d632?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1q ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:b4dabe01061f98a870548cc1bb5a18b68bcbc9021dc87781ead6e3e29a9abadc ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b4dabe01061f98a870548cc1bb5a18b68bcbc9021dc87781ead6e3e29a9abadc?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libdap/manifests/3.20.11 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libdap/blobs/sha256:74a2d396f08b072b0255351185d5cd1fab6ec822fb267d55ee969aec41a1266a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:74a2d396f08b072b0255351185d5cd1fab6ec822fb267d55ee969aec41a1266a?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/manifests/4.4.0_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/blobs/sha256:87bb203517b2d8a982cd2bcd96d8247d367a8de36c91faa8209371ddc27479b3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:87bb203517b2d8a982cd2bcd96d8247d367a8de36c91faa8209371ddc27479b3?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/proj/manifests/9.0.1 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/1230fa1cb96b85cf3344fdbfb80eff31a42b15de0a252644822ca5fb2ab26781--proj-9.0.1.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/proj/blobs/sha256:d1deff50d533d1f356f2d3e6a7c21d097d9fda80dda5e70e2cee51185f57758b Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/09d167ae7bbbc6ef4644be930118bd7808ef3b85265cb90be0c4fb8c840fb98d--proj--9.0.1.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/libgeotiff/manifests/1.7.1_2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libgeotiff/blobs/sha256:8a49a864a5bbc5b5a2f42e62ad8111b7ca9c1e8f00fd2c44f2dcd9a4468224b0 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:8a49a864a5bbc5b5a2f42e62ad8111b7ca9c1e8f00fd2c44f2dcd9a4468224b0?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libpq/manifests/14.5 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libpq/blobs/sha256:7aa629e68b7117a5875b57b455bb13b822c6b2c54d71d278da505ac3fde5faea ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:7aa629e68b7117a5875b57b455bb13b822c6b2c54d71d278da505ac3fde5faea?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/minizip/manifests/1.2.12 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/b1eb7ea0402fd5f8d17a2be3e7847da6333c992c47a109238bc282eb8cb65d86--minizip-1.2.12.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/minizip/blobs/sha256:1d2ce07558bfa685effb10a2ab00683427f60f3d286f99488c5b42017b5f04ff Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/edb0a95520c262d898d76ea0839ea4c2fcbf4709434484c9fd7a1263cbc5bd0a--minizip--1.2.12.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.39.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:faba8d1938f5f378e3936203a8987365a39907227df366a63fedf8ef174b4394 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:faba8d1938f5f378e3936203a8987365a39907227df366a63fedf8ef174b4394?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libspatialite/manifests/5.0.1_2 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/2ffc0cfcc281f50fc23d983521a345d3b4f409729692946db2ae75688e36e319--libspatialite-5.0.1_2.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/libspatialite/blobs/sha256:87c4d5eedbd6657e5bbb5f02c64f82dd9d7de502c57fecd44a2059cdff476724 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/a0c10dcce0fe8cea6d6674ed13a863c65ec7493d97539d0c27d17456f2b0e3c1--libspatialite--5.0.1_2.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.13.1_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:229315ae3a56e41cd107b5193d76aab56b5e69cdc04d0e5cbad38e05527314da ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:229315ae3a56e41cd107b5193d76aab56b5e69cdc04d0e5cbad38e05527314da?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.72.3_1-1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:4d4b142bd157136a20de6c6b84e0ee4294fb0fd0c432cf4d08259afea69ee4c6 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:4d4b142bd157136a20de6c6b84e0ee4294fb0fd0c432cf4d08259afea69ee4c6?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xorgproto/manifests/2022.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xorgproto/blobs/sha256:d6deb2e4712bdd55eadfdcd7156814a6c42c9d94eb5cda72b89c9e4221a8a99d ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d6deb2e4712bdd55eadfdcd7156814a6c42c9d94eb5cda72b89c9e4221a8a99d?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nspr/manifests/4.34.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nspr/blobs/sha256:80ac7f5e86707a572042ea4ad5a92180fd4fb3569bd784dff647408958c704b3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:80ac7f5e86707a572042ea4ad5a92180fd4fb3569bd784dff647408958c704b3?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nss/manifests/3.82 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nss/blobs/sha256:9033d5649e59824f55c306ae4dc72c57d2e13c2f3d4b47b35e196b20e1360dee ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:9033d5649e59824f55c306ae4dc72c57d2e13c2f3d4b47b35e196b20e1360dee?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/poppler/manifests/22.06.0_2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/poppler/blobs/sha256:a4acab3cb3a6b35970a48fd60b46560e99dc03d6321d9bbe9d8164a8b26abe8b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a4acab3cb3a6b35970a48fd60b46560e99dc03d6321d9bbe9d8164a8b26abe8b?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.10/manifests/3.10.6_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.10/blobs/sha256:b142ca7e72014b64b423f6b7785ff69b3b670b7619aec3684f56d8b622127bbf ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b142ca7e72014b64b423f6b7785ff69b3b670b7619aec3684f56d8b622127bbf?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unixodbc/manifests/2.3.11 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/d2df82b4ddb0328cb185561e3098a43750041fc1f98766f6ead229979214f999--unixodbc-2.3.11.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/unixodbc/blobs/sha256:a4d5de6d53870f610840a88bd31c0d0442bc3580068f9330207ab8e0488fa523 Already downloaded: /Users/schilder/Library/Caches/Homebrew/downloads/063633f419b9d95ac558e27bd65176c90293ac1c4883b53b12cab6ad6f41d4d3--unixodbc--2.3.11.monterey.bottle.tar.gz ==> Downloading https://ghcr.io/v2/homebrew/core/webp/manifests/1.2.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/webp/blobs/sha256:51401f60176f19559cd04e37873da32c470fe3ac6ba0a9e096a4fafda5cd8065 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:51401f60176f19559cd04e37873da32c470fe3ac6ba0a9e096a4fafda5cd8065?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gdal/manifests/3.5.1_2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gdal/blobs/sha256:a007b881b98ed5b0947e40007968f1b2fc8ad6e2ae6b040c89bcc686019ff9aa ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a007b881b98ed5b0947e40007968f1b2fc8ad6e2ae6b040c89bcc686019ff9aa?se=2022-08-27T19%3A00%3A0 ######################################################################## 100.0% ==> Upgrading gcc 11.3.0_2 -> 12.2.0 ==> Installing dependencies for gcc: lz4 and xz ==> Installing gcc dependency: lz4 ==> Pouring lz4--1.9.4.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/lz4/1.9.4: 22 files, 685.2KB ==> Installing gcc dependency: xz ==> Pouring xz--5.2.6.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/xz/5.2.6: 95 files, 1.4MB ==> Installing gcc ==> Pouring gcc--12.2.0.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/gcc/12.2.0: 1,566 files, 299.7MB ==> Running `brew cleanup gcc`... Removing: /usr/local/Cellar/gcc/11.3.0_2... (2,148 files, 330.1MB) Removing: /Users/schilder/Library/Caches/Homebrew/gcc--11.3.0_2... (105MB) ==> Upgrading openblas 0.3.20 -> 0.3.21 ==> Pouring openblas--0.3.21.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/openblas/0.3.21: 23 files, 130MB ==> Running `brew cleanup openblas`... Removing: /usr/local/Cellar/openblas/0.3.20... (23 files, 128.6MB) ==> Upgrading hdf5 1.13.0 -> 1.12.2_1 ==> Installing dependencies for hdf5: libaec ==> Installing hdf5 dependency: libaec ==> Pouring libaec--1.0.6.monterey.bottle.tar.gz Warning: These files were overwritten during the `brew link` step: /usr/local/include/szlib.h /usr/local/lib/libsz.2.dylib /usr/local/lib/libsz.a /usr/local/lib/libsz.dylib They have been backed up to: /Users/schilder/Library/Caches/Homebrew/Backup ==> Summary ๐Ÿบ /usr/local/Cellar/libaec/1.0.6: 20 files, 247.1KB ==> Installing hdf5 ==> Pouring hdf5--1.12.2_1.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/hdf5/1.12.2_1: 273 files, 18.1MB ==> Running `brew cleanup hdf5`... Removing: /usr/local/Cellar/hdf5/1.13.0... (279 files, 18.1MB) ==> Upgrading netcdf 4.8.1_1 -> 4.8.1_3 ==> Pouring netcdf--4.8.1_3.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/netcdf/4.8.1_3: 89 files, 6.3MB ==> Running `brew cleanup netcdf`... Removing: /usr/local/Cellar/netcdf/4.8.1_1... (89 files, 6.3MB) ==> Upgrading numpy 1.22.2 -> 1.23.2 ==> Pouring numpy--1.23.2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/numpy/1.23.2: 1,732 files, 45.2MB ==> Running `brew cleanup numpy`... Removing: /usr/local/Cellar/numpy/1.22.2... (817 files, 21.9MB) ==> Upgrading gdal 3.4.1_2 -> 3.5.1_2 ==> Installing dependencies for gdal: cfitsio, expat, geos, jpeg-turbo, json-c, libxml2, ca-certificates, openssl@1.1, libdap, libtiff, proj, libgeotiff, libpq, minizip, sqlite, libspatialite, little-cms2, glib, xorgproto, nspr, nss, poppler, python@3.10, unixodbc and webp ==> Installing gdal dependency: cfitsio ==> Pouring cfitsio--4.1.0.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/cfitsio/4.1.0: 17 files, 3.1MB ==> Installing gdal dependency: expat ==> Pouring expat--2.4.8.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/expat/2.4.8: 21 files, 577.2KB ==> Installing gdal dependency: geos ==> Pouring geos--3.11.0.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/geos/3.11.0: 463 files, 11.4MB ==> Installing gdal dependency: jpeg-turbo ==> Pouring jpeg-turbo--2.1.4.monterey.bottle.tar.gz Warning: These files were overwritten during the `brew link` step: /usr/local/bin/cjpeg /usr/local/bin/djpeg /usr/local/bin/jpegtran /usr/local/bin/rdjpgcom /usr/local/bin/wrjpgcom /usr/local/include/jconfig.h /usr/local/include/jerror.h /usr/local/include/jmorecfg.h /usr/local/include/jpeglib.h /usr/local/share/man/man1/cjpeg.1 /usr/local/share/man/man1/djpeg.1 /usr/local/share/man/man1/jpegtran.1 /usr/local/share/man/man1/rdjpgcom.1 /usr/local/share/man/man1/wrjpgcom.1 /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.dylib /usr/local/lib/pkgconfig/libjpeg.pc They have been backed up to: /Users/schilder/Library/Caches/Homebrew/Backup ==> Summary ๐Ÿบ /usr/local/Cellar/jpeg-turbo/2.1.4: 44 files, 3.8MB ==> Installing gdal dependency: json-c ==> Pouring json-c--0.16.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/json-c/0.16: 32 files, 320.3KB ==> Installing gdal dependency: libxml2 ==> Pouring libxml2--2.10.0.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/libxml2/2.10.0: 199 files, 6.2MB ==> Installing gdal dependency: ca-certificates ==> Pouring ca-certificates--2022-07-19_1.all.bottle.tar.gz ==> Regenerating CA certificate bundle from keychain, this may take a while... ๐Ÿบ /usr/local/Cellar/ca-certificates/2022-07-19_1: 3 files, 222.7KB ==> Installing gdal dependency: openssl@1.1 ==> Pouring openssl@1.1--1.1.1q.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/openssl@1.1/1.1.1q: 8,097 files, 18.5MB ==> Installing gdal dependency: libdap ==> Pouring libdap--3.20.11.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/libdap/3.20.11: 163 files, 6.5MB ==> Installing gdal dependency: libtiff ==> Pouring libtiff--4.4.0_1.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/libtiff/4.4.0_1: 249 files, 4.5MB ==> Installing gdal dependency: proj ==> Pouring proj--9.0.1.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/proj/9.0.1: 436 files, 588MB ==> Installing gdal dependency: libgeotiff ==> Pouring libgeotiff--1.7.1_2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/libgeotiff/1.7.1_2: 39 files, 736.9KB ==> Installing gdal dependency: libpq ==> Pouring libpq--14.5.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/libpq/14.5: 2,340 files, 27.9MB ==> Installing gdal dependency: minizip ==> Pouring minizip--1.2.12.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/minizip/1.2.12: 13 files, 379.1KB ==> Installing gdal dependency: sqlite ==> Pouring sqlite--3.39.2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/sqlite/3.39.2: 11 files, 4.4MB ==> Installing gdal dependency: libspatialite ==> Pouring libspatialite--5.0.1_2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/libspatialite/5.0.1_2: 40 files, 24.5MB ==> Installing gdal dependency: little-cms2 ==> Pouring little-cms2--2.13.1_1.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/little-cms2/2.13.1_1: 21 files, 1.3MB ==> Installing gdal dependency: glib ==> Pouring glib--2.72.3_1.monterey.bottle.1.tar.gz ๐Ÿบ /usr/local/Cellar/glib/2.72.3_1: 449 files, 20.5MB ==> Installing gdal dependency: xorgproto ==> Pouring xorgproto--2022.2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/xorgproto/2022.2: 268 files, 3.9MB ==> Installing gdal dependency: nspr ==> Pouring nspr--4.34.1.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/nspr/4.34.1: 86 files, 1.2MB ==> Installing gdal dependency: nss ==> Pouring nss--3.82.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/nss/3.82: 211 files, 18MB ==> Installing gdal dependency: poppler ==> Pouring poppler--22.06.0_2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/poppler/22.06.0_2: 464 files, 27.9MB ==> Installing gdal dependency: python@3.10 ==> Pouring python@3.10--3.10.6_1.monterey.bottle.tar.gz Warning: These files were overwritten during the `brew link` step: /usr/local/bin/2to3 /usr/local/bin/idle3 /usr/local/bin/pydoc3 /usr/local/bin/python3 /usr/local/bin/python3-config /usr/local/share/man/man1/python3.1 /usr/local/lib/pkgconfig/python3-embed.pc /usr/local/lib/pkgconfig/python3.pc /usr/local/Frameworks/Python.framework/Headers /usr/local/Frameworks/Python.framework/Python /usr/local/Frameworks/Python.framework/Resources /usr/local/Frameworks/Python.framework/Versions/Current They have been backed up to: /Users/schilder/Library/Caches/Homebrew/Backup ==> /usr/local/Cellar/python@3.10/3.10.6_1/bin/python3.10 -m ensurepip ==> /usr/local/Cellar/python@3.10/3.10.6_1/bin/python3.10 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/usr/local/lib/python3.10/site-packages /usr/loc ==> Summary ๐Ÿบ /usr/local/Cellar/python@3.10/3.10.6_1: 3,112 files, 56.5MB ==> Installing gdal dependency: unixodbc ==> Pouring unixodbc--2.3.11.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/unixodbc/2.3.11: 48 files, 2.1MB ==> Installing gdal dependency: webp ==> Pouring webp--1.2.4.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/webp/1.2.4: 41 files, 2.5MB ==> Installing gdal ==> Pouring gdal--3.5.1_2.monterey.bottle.tar.gz ๐Ÿบ /usr/local/Cellar/gdal/3.5.1_2: 422 files, 60.4MB ==> Running `brew cleanup gdal`... Removing: /usr/local/Cellar/gdal/3.4.1_2... (356 files, 60.8MB) ==> Checking for dependents of upgraded formulae... ==> No broken dependents to reinstall! ```

But this didn't seem to change anything, same issue as before (even when i start a new bash session):

Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Interim solution

Since this issues was first noted, my workaround has been to build in a tryCatch to any FINEMAP functions that use the executable. It first tries the latest version (which requires gcc8), but then if that fails it goes back to FINEMAP v1.3.1, which seems to run ok without it.

bschilder commented 2 years ago

aha! think i found something regarding the symlinks based on this post:

/usr/local/bin/gcc-8 -v
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc-8
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc@8/8.5.0/libexec/gcc/x86_64-apple-darwin21/8.5.0/lto-wrapper
Target: x86_64-apple-darwin21
Configured with: ../configure --prefix=/usr/local/Cellar/gcc@8/8.5.0 --libdir=/usr/local/Cellar/gcc@8/8.5.0/lib/gcc/8 --disable-nls --enable-checking=release --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-8 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-pkgversion='Homebrew GCC 8.5.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --build=x86_64-apple-darwin21 --with-system-zlib --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk --without-build-config
Thread model: posix
gcc version 8.5.0 (Homebrew GCC 8.5.0) 

This does indeed seem to be the executable I want. Now i need to find a way to redirect the symlink to this version (preferably from within R).

bschilder commented 2 years ago

In fact, it seems I have multiple versions of gcc installed on my Mac:

bash-3.2$ echo $PATH
/opt/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/schilder/Library/Python/3.8/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/TeX/texbin
bash-3.2$ /usr/local/bin/gcc
gcc            gcc-12         gcc-8          gcc-ar-12      gcc-ar-8       gcc-nm-12      gcc-nm-8       gcc-ranlib-12  gcc-ranlib-8   

Overwrite symlink

ln -sf /usr/local/bin/gcc-8 /usr/local/bin/gcc

After starting a new bash session, the right gcc is now being referenced!

Now to figure out how to do this within R in a way that communicates with FINEMAP.

bschilder commented 2 years ago

Within R

Even though I can see the right version of gcc is indeed being referred to....

 out <- R.utils::createLink(
            link="/usr/local/bin/gcc",
            target="/usr/local/bin/gcc-8", 
            overwrite=TRUE)
system("gcc -v")
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc@8/8.5.0/libexec/gcc/x86_64-apple-darwin21/8.5.0/lto-wrapper
Target: x86_64-apple-darwin21
Configured with: ../configure --prefix=/usr/local/Cellar/gcc@8/8.5.0 --libdir=/usr/local/Cellar/gcc@8/8.5.0/lib/gcc/8 --disable-nls --enable-checking=release --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-8 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-pkgversion='Homebrew GCC 8.5.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --build=x86_64-apple-darwin21 --with-system-zlib --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk --without-build-config
Thread model: posix
gcc version 8.5.0 (Homebrew GCC 8.5.0) 

FINEMAP doesn't' seem to be able to recognize it. Even including the softlink creation within the same command doesn't help:

system("/Users/schilder/Library/Caches/org.R-project.R/R/echofinemap/FINEMAP/finemap_v1.4.1_MacOSX/finemap_v1.4.1_MacOSX")

## or

system("ln -sF /usr/local/bin/gcc-8 /usr/local/bin/gcc & /Users/schilder/Library/Caches/org.R-project.R/R/echofinemap/FINEMAP/finemap_v1.4.1_MacOSX/finemap_v1.4.1_MacOSX")
dyld[89574]: Library not loaded: /usr/local/opt/gcc/lib/gcc/10/libgfortran.5.dylib
  Referenced from: /Users/schilder/Library/Caches/org.R-project.R/R/echofinemap/FINEMAP/finemap_v1.4.1_MacOSX/finemap_v1.4.1_MacOSX
  Reason: tried: '/usr/local/opt/gcc/lib/gcc/10/libgfortran.5.dylib' (no such file), '/usr/local/lib/libgfortran.5.dylib' (no such file), '/usr/lib/libgfortran.5.dylib' (no such file)
sh: line 1: 89574 Abort trap: 6           /Users/schilder/Library/Caches/org.R-project.R/R/echofinemap/FINEMAP/finemap_v1.4.1_MacOSX/finemap_v1.4.1_MacOSX

Within terminal

It doesn't even seem to be R related, as FINEMAP has this same issue when called from the terminal. Maybe it has something to do with where it's cashed?

Screenshot 2022-08-27 at 20 46 54

bschilder commented 2 years ago

GOT IT!!

Procedure

Ok, so several things needed to be in place:

  1. gcc must be installed (via brew), though any version seems to work fine (e.g. 7,8,10): brew install gcc@10
  2. Create a symlink to a non-clang version of gcc to override any clang-based versions (e.g. that used by xcode on Macs).
  3. libomp must be installed (this took me a while to figure out that this was a totally separate software): brew install libomp
  4. zstd must be installed: brew install zstd

Within R

I've created an internal function in echofinemap called setup_gcc which automates the symlink steps by searching for an appropriate gcc version automatically. If none can be found, it instructs the user to install one using brew. https://github.com/RajLabMSSM/echofinemap/blob/efbb2ef08d1e9d7b700bcbf92445917813ab364c/R/setup_gcc.R

Because it overwrite any preexisting symlinks, setup_gcc allows for easy switching between different versions of gcc installed on the same machine at once.

Test run

Now FINEMAP v1.4.1 successfully runs all the way through!!

Loading required namespace: MungeSumstats
Preparing sample size column (N).
Computing effective sample size using the LDSC method:
 Neff = (N_CAS+N_CON) * (N_CAS/(N_CAS+N_CON)) / mean((N_CAS/(N_CAS+N_CON))[(N_CAS+N_CON)==max(N_CAS+N_CON)]))
+ Mapping colnames from MungeSumstats ==> echolocatoR
+ Subsetting LD matrix and dat to common SNPs...
Removing unnamed rows/cols
Replacing NAs with 0
+ LD_matrix = 95 SNPs.
+ dat = 95 SNPs.
+ 95 SNPs in common.
Converting obj to sparseMatrix.
Constructing master file.
Constructing data.z file.
Constructing data.ld file.
Using gcc version: 8
FINEMAP path: /Users/schilder/Library/Caches/org.R-project.R/R/echofinemap/FINEMAP/finemap_v1.4.1_MacOSX/finemap_v1.4.1_MacOSX
Inferred FINEMAP version: 1.4.1
Running FINEMAP.
cd .../BST1 &&
    .../finemap_v1.4.1_MacOSX

    --sss

    --in-files .../master

    --log

    --n-causal-snps 5

|--------------------------------------|
| Welcome to FINEMAP v1.4.1            |
|                                      |
| (c) 2015-2022 University of Helsinki |
|                                      |
| Help :                               |
| - ./finemap --help                   |
| - www.finemap.me                     |
| - www.christianbenner.com            |
|                                      |
| Contact :                            |
| - finemap@christianbenner.com        |
| - matti.pirinen@helsinki.fi          |
|--------------------------------------|

--------
SETTINGS
--------
- dataset            : all
- corr-config        : 0.95
- n-causal-snps      : 5
- n-configs-top      : 50000
- n-conv-sss         : 100
- n-iter             : 100000
- n-threads          : 1
- prior-k0           : 0
- prior-std          : 0.05 
- prob-conv-sss-tol  : 0.001
- prob-cred-set      : 0.95

------------
FINE-MAPPING (1/1)
------------
- GWAS summary stats               : FINEMAP/data.z
- SNP correlations                 : FINEMAP/data.ld
- Causal SNP stats                 : FINEMAP/data.snp
- Causal configurations            : FINEMAP/data.config
- Credible sets                    : FINEMAP/data.cred
- Log file                         : FINEMAP/data.log_sss
- Reading input                    : done!   

- Number of GWAS samples           : 1474097
- Number of SNPs                   : 95
- Prior-Pr(# of causal SNPs is k)  : 
  (0 -> 0)
   1 -> 0.584
   2 -> 0.292
   3 -> 0.0963
   4 -> 0.0236
   5 -> 0.00456
- 1737 configurations evaluated (0.105/100%) : converged after 105 iterations
- Computing causal SNP statistics  : done!   
- Regional SNP heritability        : 0.00296 (SD: 8.85e-05 ; 95% CI: [0.00279,0.00313])
- Log10-BF of >= one causal SNP    : 931
- Post-expected # of causal SNPs   : 5
- Post-Pr(# of causal SNPs is k)   : 
  (0 -> 0)
   1 -> 0
   2 -> 0
   3 -> 0
   4 -> 2.61e-49
   5 -> 1
- Writing output                   : done!   
- Run time                         : 0 hours, 0 minutes, 0 seconds
1 data.cred* file(s) found in the same subfolder.
Selected file based on postPr_k: data.cred5
Importing conditional probabilities (.cred file).
Importing marginal probabilities (.snp file).
Importing configuration probabilities (.config file).

Mac specs

platform       x86_64-apple-darwin17.0     
arch           x86_64                      
os             darwin17.0                  
system         x86_64, darwin17.0          
status                                     
major          4                           
minor          2.1                         
year           2022                        
month          06                          
day            23                          
svn rev        82513                       
language       R                           
version.string R version 4.2.1 (2022-06-23)
nickname       Funny-Looking Kid       
asoroosh commented 9 months ago

apologies for re-opening the issue:

I am on a Mac arm64 architecture - and the procedure your have outlined here doesn't seem to be working for me. I was wondering if there is an equivalent for arm64 case?

bschilder commented 9 months ago

apologies for re-opening the issue:

I am on a Mac arm64 architecture - and the procedure your have outlined here doesn't seem to be working for me. I was wondering if there is an equivalent for arm64 case?

Hi @asoroosh, I'll try to look into it

Could you send me the specific specs on your Mac? Should be findable via System Setting --> System Report --> Hardware Screenshot 2023-12-11 at 15 47 25

asoroosh commented 9 months ago

Hi Brian - thanks for your reply. See the spec below:

Screenshot 2023-12-11 at 18 17 53