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

gfortran cannot compile xmrcc.f

  • kipeters
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 5 months ago #1244 by kipeters
Replied by kipeters on topic gfortran cannot compile xmrcc.f
this option does work for the build, but unfortunately this does not fix the problem with OpenMP, i.e., OMP_NUM_THREADS is not enforced in the GNU build (# cores always set to 1)

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

More
2 years 3 months ago #1260 by hokru
Replied by hokru on topic gfortran cannot compile xmrcc.f
Please use -fallow-argument-mismatch instead. You don't necessarily want the legacy standard.

mrcc.hu/index.php/forum/compiling-mrcc/2...smatched-array-sizes
 

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

  • kipeters
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 3 months ago #1261 by kipeters
Replied by kipeters on topic gfortran cannot compile xmrcc.f
ah, you're exactly right. I also had to do this for compiling the Dirac program with gcc. I don't think this fixes my problem with OMP_NUM_THREADS however. I had to revert back to my older Intel compiler.

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

Time to create page: 0.040 seconds
Powered by Kunena Forum