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 :)

Compiling mrcc-2-2019 with intel 2019

  • bkwx97
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 7 months ago #749 by bkwx97
Dear dev's

I'm attempting to compile the source with Intel 2019. I invoke the build script with

build.mrcc Intel -pOMP

I am using Intel(R) 64, Version 19.0.4.243 Build 20190416

ifort -v gives ifort version 19.0.4.243

icc -v gives icc version 19.0.4.243 (gcc version 4.4.7 compatibility)


I get the following errors in the output

Compiling mrcc with options -fpp -O3 -i8 -assume byterecl -DIntel -DINT64 -DOMP -openmp
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
Compiling goldstone with options -fpp -O3 -i8 -assume byterecl -DIntel -DINT64 -DOMP -openmp
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
Compiling lambda with options -fpp -O3 -i8 -assume byterecl -DIntel -DINT64 -DOMP -openmp
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
Compiling sacc with options -fpp -O3 -i8 -assume byterecl -DIntel -DINT64 -DOMP -openmp
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
Compiling pert with options -fpp -O3 -i8 -assume byterecl -DIntel -DINT64 -DOMP -openmp
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
Compiling combin with options -fpp -O3 -i8 -assume byterecl -DIntel -DINT64 -DOMP -openmp
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'


And then

Linking dmrcc with libraries: -mkl=parallel -lpthread
ifort: error #10236: File not found: 'combin.o'
ifort: error #10236: File not found: 'z2c.o'
ifort: error #10236: File not found: 'freqdrv.o'
ifort: error #10236: File not found: 'flush.o'

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

  • kallay
  • Offline
  • Administrator
  • Administrator
  • Mihaly Kallay
More
4 years 7 months ago #750 by kallay
Replied by kallay on topic Compiling mrcc-2-2019 with intel 2019
Please edit build.mrcc.config and make the following modifications.

1) After line
"x18" ) linpacklib="-mkl=parallel";;
add the following line:
"x19" ) linpacklib="-mkl=parallel";;

2) Modify line
if ([ x$version == "x16" ] || [ x$version == "x17" ] || [ x$version == "x18" ]);
into:
if ([ x$version == "x16" ] || [ x$version == "x17" ] || [ x$version == "x18" ] || [ x$version == "x19" ]);

Best regards,
Mihaly Kallay

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

More
4 years 4 months ago #778 by cdc
Replied by cdc on topic Compiling mrcc-2-2019 with intel 2019
Hello,

I am alsot trying to compile with intel/2019.3. I used "build.mrcc Intel -i64 -pOMP -f/my/directory"
ifort -v gives ifort version 19.0.3.199
icc -v gives icc version 19.0.3.199 (gcc version 8.3.0 compatibility)
I made the above changes you suggested to the build.mrcc.config file, but I still get the same error as the person above does.

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

  • kallay
  • Offline
  • Administrator
  • Administrator
  • Mihaly Kallay
More
4 years 4 months ago #779 by kallay
Replied by kallay on topic Compiling mrcc-2-2019 with intel 2019
It is strange. Please try to remove all object files and binaries and recompile the code.

Best regards,
Mihaly Kallay

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

More
4 years 4 months ago #780 by cdc
Replied by cdc on topic Compiling mrcc-2-2019 with intel 2019
The same error came up when I did that. I also tried deleting everything and starting over (after making the changes you noted), but the same errors occured there too.

Thanks in advance,
Colton

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

  • nagypeter
  • Offline
  • Premium Member
  • Premium Member
  • MRCC developer
More
4 years 4 months ago #781 by nagypeter
Replied by nagypeter on topic Compiling mrcc-2-2019 with intel 2019
Dear Colton,

1) Could you, please, retry with in a clean folder
build.mrcc Intel -pOMP > log 2> log
(-i64 should not be necessary), and post the COMPLETE log with both output and all error messages?
The edited build script should work with ifort 19.x, there could be some other issue.

2) Could you let us know, how you set up the environment variables, etc. for the intel compiler?
module load or Intel compilervars.sh script or else?
Are there multiple intel versions on your systems that can cause conflict?

3) Have you tried the released binary version?

Best regards,
Peter

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

Time to create page: 0.042 seconds
Powered by Kunena Forum