- Posts: 3
- Thank you received: 0
If you run into troubles, it is always a good habit to report the following information:
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
- 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
- Nickalaich
- Topic Author
- Offline
- New Member
Less
More
7 years 1 month ago #423
by Nickalaich
Compilation issues on macOS 10.12.6 was created 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.
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.
Attachments:
Please Log in or Create an account to join the conversation.
- jcsontos
- Offline
- Administrator
7 years 1 month ago #424
by jcsontos
Replied by jcsontos on topic Compilation issues on macOS 10.12.6
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 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.
- Nickalaich
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 1 month ago #425
by Nickalaich
Replied by Nickalaich on topic Compilation issues on macOS 10.12.6
jcsontos, thank you. The responds of the commands:
a) /bin/bash
b)
I have also tried to change line 82 as you suggested and it didn't work.
a) /bin/bash
b)
Warning: Spoiler!
TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/54/4rkny5ln7q18p4swwtgh2mz40000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.7h54Zi2knY/Render
TERM_PROGRAM_VERSION=388.1.1
OLDPWD=/Users/dishu1/Desktop/EMImTfO
TERM_SESSION_ID=DA238AA8-4DB2-4CAD-86E3-1A8F853921B1
USER=dishu1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.kqxXW6l5gz/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x7:0x31
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
PWD=/Users/dishu1/Downloads/mrcc
LANG=ru_RU.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/dishu1
SHLVL=1
LOGNAME=dishu1
DISPLAY=/private/tmp/com.apple.launchd.Z9l44pKCRo/org.macosforge.xquartz:0
_=/usr/bin/env
TERM=xterm-256color
SHELL=/bin/bash
TMPDIR=/var/folders/54/4rkny5ln7q18p4swwtgh2mz40000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.7h54Zi2knY/Render
TERM_PROGRAM_VERSION=388.1.1
OLDPWD=/Users/dishu1/Desktop/EMImTfO
TERM_SESSION_ID=DA238AA8-4DB2-4CAD-86E3-1A8F853921B1
USER=dishu1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.kqxXW6l5gz/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x7:0x31
PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
PWD=/Users/dishu1/Downloads/mrcc
LANG=ru_RU.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/dishu1
SHLVL=1
LOGNAME=dishu1
DISPLAY=/private/tmp/com.apple.launchd.Z9l44pKCRo/org.macosforge.xquartz:0
_=/usr/bin/env
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.
- jcsontos
- Offline
- Administrator
7 years 1 month ago #426
by jcsontos
Replied by jcsontos on topic Compilation issues on macOS 10.12.6
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.
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.
- Nickalaich
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 1 month ago #427
by Nickalaich
Replied by Nickalaich on topic Compilation issues on macOS 10.12.6
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.
- jcsontos
- Offline
- Administrator
7 years 1 month ago #428
by jcsontos
Replied by jcsontos on topic Compilation issues on macOS 10.12.6
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.
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.049 seconds