A cmake build process exists and seems to work, but I'm having problems with it on cheyenne. Building with gcc 6.3 opencoarrays 1.9.1 and SGI's MPT MPI implementation 2.15f. Interestingly, the static makefile compile works and the executable runs just fine, so there seems to be something different that cmake does.
I suspect somehow cmake is finding a different fortran compiler or runtime library somehow. Does cmake know about MPT? or will it try to use MPICH or openmpi somehow (both of which are installed on cheyenne). Perhaps this combined with my module environment having MPT loading is breaking something at runtime.
Is it possible to have cmake (or the makefile it generates) print out the compile line and or all the libraries it is linking against?
A cmake build process exists and seems to work, but I'm having problems with it on cheyenne. Building with gcc 6.3 opencoarrays 1.9.1 and SGI's MPT MPI implementation 2.15f. Interestingly, the static makefile compile works and the executable runs just fine, so there seems to be something different that cmake does.
I suspect somehow cmake is finding a different fortran compiler or runtime library somehow. Does cmake know about MPT? or will it try to use MPICH or openmpi somehow (both of which are installed on cheyenne). Perhaps this combined with my module environment having MPT loading is breaking something at runtime.
Is it possible to have cmake (or the makefile it generates) print out the compile line and or all the libraries it is linking against?