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

Compile on Mac #162

Open
ghost opened this issue Apr 17, 2021 · 2 comments
Open

Compile on Mac #162

ghost opened this issue Apr 17, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 17, 2021

I am trying to compile on Mac Catalina with make ebseq and I get this error:

Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
opt_par_ss_com.f90:366:24:

  364 |   call intpr("iter", -1, iter, 1)
      |                         2
  365 |   call intpr("nclu", -1, nclu, k)
  366 |   call intpr("clu", -1, clu, n)
      |                        1
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
make[2]: *** [opt_par_ss_com.o] Error 1
ERROR: compilation failed for package ‘blockmodeling’
* removing ‘/Users/brian/tools/RSEM/EBSeq/blockmodeling’

Then it keeps compiling and I get this error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Then I get:

ERROR: dependency ‘blockmodeling’ is not available for package ‘EBSeq’
* removing ‘/Users/brian/tools/RSEM/EBSeq/EBSeq’
Failed to install EBSeq v1.2.0 locally!

I tried alias my gcc to homebrew many ways but terminal still blinks with "gfortran f951 clang" and get same errors.

@ghost
Copy link
Author

ghost commented Apr 17, 2021

looks related to @Unidata/netcdf-fortran#212

@joelnitta
Copy link

Have you tried installing blockmodeling from R directly before running make ebseq? That solved the problem for me.

You can either do it interactively at the R terminal, or with

Rscript -e 'install.packages("blockmodeling")'

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