----------------------------------------
Date: Mon, 24 Feb 2014 22:07:15 +0200 From: jussilehtola@fedoraproject.org To: seb@boisvert.info CC: scitech@lists.fedoraproject.org Subject: Re: mpich in el6
On Mon, 24 Feb 2014 14:36:06 -0500 Sébastien Boisvert seb@boisvert.info wrote:
Hi,
What's the name of mpich in el6 ?
Is it still named mpich2 ?
yes
OK.
I added a variable for the mpich package name.
This builds successfully in koji for f19, f20, rawhide.
But for el6, it fails (after pulling mpich2 and other dependencies, though).
But I get this error in root.log:
DEBUG util.py:281: error: cannot open Name index using db3 - Invalid argument (22)
In build.log, I get:
/var/tmp/rpm-tmp.u87pWh: line 50: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.u87pWh (%build)
el6 build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6566767 (the i696 build fails).
I am not sure what is going on.
-- Susi Lehtola Fedora Project Contributor jussilehtola@fedoraproject.org
This means that your spec or upstream build script contain a word which doesn't belong to system command or RPM macro, and in this case RPM will show such error.
Also, I see something not good in the build log is that you didn't disable the silent build, I see many CXX or LD but no details displayed. Please disable the silent build to help check if the flags has been inserted correctly.
Hi,
I verified and the CXXFLAGS pass through:
mpicxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D CONFIG_MAXKMERLENGTH=32 -D CONFIG_HAVE_LIBZ -D CONFIG_HAVE_LIBBZ2 -D CONFIG_RAY_VERSION="2.3.1" -I. -IRayPlatform -c code/application_core/ray_main.cpp -o code/application_core/ray_main.o
________________________________
Date: Tue, 25 Feb 2014 08:27:59 +0800 From: cickumqt@gmail.com To: scitech@lists.fedoraproject.org Subject: Re: [Scitech] mpich in el6
This means that your spec or upstream build script contain a word which doesn't belong to system command or RPM macro, and in this case RPM will show such error.
Also, I see something not good in the build log is that you didn't disable the silent build, I see many CXX or LD but no details displayed. Please disable the silent build to help check if the flags has been inserted correctly.
_______________________________________________ scitech mailing list scitech@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/scitech
On Mon, 24 Feb 2014 16:38:18 -0500 Sébastien Boisvert seb@boisvert.info wrote:
In build.log, I get:
/var/tmp/rpm-tmp.u87pWh: line 50: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.u87pWh (%build)
el6 build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6566767 (the i696 build fails).
I am not sure what is going on.
It's failing in the %{_mpich_load} macro, which should be %{_mpich2_load} for MPICH2 in EL6.
And the same for %{_mpich2_unload}.
Thanks !
That fixed the issue.
I was also wondering why nested macros like this one are not working:
%{_%{mpichName}_load}
This works, but is longer:
%if %mpichName == "mpich" %{_mpich_load} %else %{_mpich2_load} %endif
----------------------------------------
Date: Tue, 25 Feb 2014 08:48:03 +0200 From: jussilehtola@fedoraproject.org To: seb@boisvert.info; scitech@lists.fedoraproject.org Subject: Re: mpich in el6
On Mon, 24 Feb 2014 16:38:18 -0500 Sébastien Boisvert seb@boisvert.info wrote:
In build.log, I get:
/var/tmp/rpm-tmp.u87pWh: line 50: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.u87pWh (%build)
el6 build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6566767 (the i696 build fails).
I am not sure what is going on.
It's failing in the %{_mpich_load} macro, which should be %{_mpich2_load} for MPICH2 in EL6.
And the same for %{_mpich2_unload}.
Susi Lehtola Fedora Project Contributor jussilehtola@fedoraproject.org
On Sun, 2 Mar 2014 11:06:44 -0500 Sébastien Boisvert seb@boisvert.info wrote:
I was also wondering why nested macros like this one are not working:
%{_%{mpichName}_load}
This works, but is longer:
%if %mpichName == "mpich" %{_mpich_load} %else %{_mpich2_load} %endif
Maybe you should ask about this on fedora-devel.
----------------------------------------
Date: Sun, 2 Mar 2014 19:14:24 +0200 From: jussilehtola@fedoraproject.org To: seb@boisvert.info CC: scitech@lists.fedoraproject.org Subject: Re: mpich in el6
On Sun, 2 Mar 2014 11:06:44 -0500 Sébastien Boisvert seb@boisvert.info wrote:
I was also wondering why nested macros like this one are not working:
%{_%{mpichName}_load}
This works, but is longer:
%if %mpichName == "mpich" %{_mpich_load} %else %{_mpich2_load} %endif
Maybe you should ask about this on fedora-devel.
Hi,
Good idea, I asked my question there.
Thanks.
-- Susi Lehtola Fedora Project Contributor jussilehtola@fedoraproject.org
scitech@lists.fedoraproject.org