Re: [mpich-discuss] MPICH V3.0.4 - Unable to compile simple code
I did not find anything wrong in the log file. The configure script detected the alignment of a Fortran common block with one integer is 16, as shown below 11968 configure:52396: gfortran -o conftest -O2 conftest.f90 pac_conftest.o -lrt -lpthread > pac_align1.log 2>&1 11969 configure:52396: $? = 0 11970 configure:52403: diff -b pac_align0.log pac_align1.log > pac_test.log 11971 configure:52406: $? = 0 11972 configure:52495: result: 16 The odd numbers in the warning message "_Cmpifcmb3, _Cmpifcmb5, _Cmpifcmb7, _Cmpifcmb9" seem to suggest the actual alignment is affected by neighbor blocks, which I am not sure. Could you try the new mpich-3.1.4 at http://www.mpich.org/downloads/? If the problem still exists, I can create a ticket. BTW, if you do not need Fortran, you can configure with --enable-fortran=none --Junchao Zhang On Tue, Mar 3, 2015 at 12:13 PM, Kush Patel <[email protected]> wrote:
I've attached the config.log file. Thanks for your help so far, Jeff.
On Mon, Mar 2, 2015 at 10:04 PM, Jeff Hammond <[email protected]> wrote:
For example, it helps to know what compiler you are using.
Since MPICH contains absolutely no C++ outside of the now-deleted C++ bindings, that doesn't matter. I can only assume you are using the MPI C bindings.
In the rare instance of Linux-related issues, the result of "uname -a" contains the important info. I've never seen an MPICH bug that was specific to the Linux distro...
Just attach your config.log and that will provide the information people need.
Jeff
On Mon, Mar 2, 2015 at 1:54 PM, Kush Patel <[email protected]> wrote:
I'm not sure exactly what information you need, but here is what I know.
Environment: Debian MPICH version: 3.0.4 Language: C++
In regards to that link, is the process just replacing the indicated source files and reinstalling MPICH? Also it seems that issue was for Fortran90, would the same procedure described work for C++?
Thank you.
On Mon, Mar 2, 2015 at 3:34 PM, Jeff Hammond <[email protected]> wrote:
You're going to need to provide more information for someone to help
you.
I see this issue has been encountered in the past with PGI: http://trac.mpich.org/projects/mpich/ticket/1073.
Jeff
On Mon, Mar 2, 2015 at 1:31 PM, Kush Patel <[email protected]>
wrote:
Hello,
I'm having trouble getting a simple "Hello World" code to compile. The following errors occur when I try to call MPI_INIT.
/usr/bin/ld: Warning: alignment 16 of symbol `_Cmpifcmb3' in /usr/local/lib/libmpich.a(setbot.o) is smaller than 32 in /usr/local/lib/libmpich.a(setbotf.o) /usr/bin/ld: Warning: alignment 16 of symbol `_Cmpifcmb5' in /usr/local/lib/libmpich.a(setbot.o) is smaller than 32 in /usr/local/lib/libmpich.a(setbotf.o) /usr/bin/ld: Warning: alignment 16 of symbol `_Cmpifcmb7' in /usr/local/lib/libmpich.a(setbot.o) is smaller than 32 in /usr/local/lib/libmpich.a(setbotf.o) /usr/bin/ld: Warning: alignment 16 of symbol `_Cmpifcmb9' in /usr/local/lib/libmpich.a(setbot.o) is smaller than 32 in /usr/local/lib/libmpich.a(setbotf.o)
I have been unable to find a solution to this.
Thank you,
-- Kush Patel University of Houston
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Jeff Hammond [email protected] http://jeffhammond.github.io/ _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Kush Patel Doctoral Student - Bittner Group University of Houston
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Jeff Hammond [email protected] http://jeffhammond.github.io/ _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Kush Patel Doctoral Student - Bittner Group University of Houston
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
Junchao Zhang