-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScaLAPACK does not build under windows #102
Comments
Does the file scalapack-2.8d.lib actually exist on the disk? What happens if you directly build the scalapack library? |
No, the dependencies/scalapack/Debug directory is empty. Same problem if you try to build it directly from dependencies/scalapack directory. 4>------ Rebuild All started: Project: scalapack, Configuration: Debug x64 ------ The referenced build log file just says Deleting intermediate files and output files for project 'scalapack', configuration 'Debug|x64'. scalapack - 0 error(s), 0 warning(s) |
I have not been able to recreate this problem but I have nevertheless made a potential fix that I think is the cause of this issue. If you could update the scalapack src with the latest from the develop branch and re-build, I am hopeful that this issue will be resolved. |
I've updated to the latest develop but still no joy the main scalapack lib is not created. The problem can be worked around by going to Visual Studio after the files are genreated. If you manually go to the Project menu for the scalapack project and chose Add Existing Item. You can then add the scalapack-F library (or the scalapack-F and scalapack-C libraries from the previous version where both with OBJECT libraries in CMake). This then produces the scalapack lib on link. This is obviously not the desired solution as it requires manual intervention. |
Could I have some more information around this issue. I cannot re-create it with the information currently to hand. What is the environment and what method are you using to build this library? |
Also when you re-built this library did you delete the entire contents of scalapack build directory before you started? |
Yes, the entire scalapack was deleted (actually it was a fresh windows build so nothing was there). The setup is pretty straightforward, Windows 10, VS 2015, Intel compilers installed. The method was
Once the manage is done you also get the problem going to the scalapack directory i.e.,
Result is build goes through with no errors until it hits the tests which fail because there is no scalapack/Debug/scalapack-2.8d.lib file. I don't know if this is caused by the linker optimising out all the symbols because there is no reference to the library symbols in the library? |
When you execute the first step 1. above do you choose to not automatically start the build also? |
Nope, I always build multi-configs builds and thus setup has -DOPENCMISS_PERFORM_INITIAL_BUILD=False |
What options do you set in the first step 2 then? |
I didn't really set any. I just launched cmake-gui and then set the OPENCMISS_MPI to msmpi as I have Intel MPI installed and so I wanted it to use MSMPI. All the other options were the default. I'll attach the CMakeCache.txt file. |
Just remembered that I also set iron only to on. |
The scalapack library does not currently build under windows. Build out and err files are below. It seems that the Fortran and C parts build but the "....\Debug\scalapack-2.8d.lib" file is not created?
OC_SCALAPACK-build-out.log
OC_SCALAPACK-build-err.log
The text was updated successfully, but these errors were encountered: