× If you run into troubles, it is always a good habit to report the following information:
  • the way build.mrcc was invoked
  • the output of build.mrcc
  • compiler version (for example: ifort -V, gfortran -v)
  • blas/lapack versions
  • as well as gcc and glibc versions

as well as the value of the relevant environmental variables, such OMP_NUM_THREADS, etc.

This information helps us a lot when figuring out what is going on with your compilation :)

Compilation issues on macOS 10.12.6

More
1 year 9 months ago #423 by Nickalaich
Hello.
I have invoked build.mrcc with the following line: "./build.mrcc Intel -pOMP -f/opt/local/mrcc"
The compilation went fine but the linking stage is problematic. I see the problem is in the script itself but it's not recommended to edit it manually.
I attach the log file created with the script. The compiler is Intel 17.0.1. Please, guide me on how to build a working MRCC.


File Attachment:

File Name: build.mrcc.txt
File Size:2 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #424 by jcsontos
Hi,
The problem is that the sourcing of the build.mrcc.config file does not work.
My guess is that something went wrong with your environmental variables, Could you send the output of the commands:
a) echo $SHELL
b) env
You might also want to try to change the line 82 in the build.mrcc file from ". build.mrcc.config" to "source build.mrcc.config".

Best,
Jozsef
The following user(s) said Thank You: Nickalaich

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #425 by Nickalaich
jcsontos, thank you. The responds of the commands:
a) /bin/bash
b)
Warning: Spoiler! [ Click to expand ]


I have also tried to change line 82 as you suggested and it didn't work.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #426 by jcsontos
I don't know why this causes trouble for macos bash, I'm quite puzzled.
Could you just delete the parentheses around the AMD64 abbreviation at line 346 in file build.mrcc.config.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #427 by Nickalaich
Well, this line is about Sun compiler settings. Seems like it's much easier to run this on Linux machine.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #428 by jcsontos
I know that but this is about what your bash interpreter complains. Have you tried removing the parentheses?
Nowdays, macos is unix so the installation should work flawlessly there.

Please Log in or Create an account to join the conversation.

Time to create page: 0.025 seconds
Powered by Kunena Forum