You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AIX 7.1 - Attempts to install says I must run make, despite already running make. #1896
I am still using the GA version of 0.3.3, with modification to memory.c, Makefile.install, and Makefile.system. I am getting this message:
$ sudo make install
The license for the Evaluation version of IBM XL C/C++ for AIX V11.1 compiler product has expired. Please send an email to compiler@ca.ibm.com for information on purchasing the product.
make: *** [Makefile.prebuild:62: getarch] Error 1
make -j 1 -f Makefile.install install
make[1]: Entering directory '/scratch/focal_point/Packages/OpenBLAS'
Makefile.install:21: *** OpenBLAS: Please run "make" firstly. Stop.
make[1]: Leaving directory '/scratch/focal_point/Packages/OpenBLAS'
make: *** [Makefile:336: install] Error 2
Licensing message disappears if I use the same value I use for the compile, which to remind you is:
make BINARY=64 CC=gcc FC=gfortran FFLAGS="-O2 -maix64" RANLIB=ranlib LD=ld AR=ar MAKE_NB_JOBS=1
Same error message. This is my 5th AIX 7.1 server install, and I never saw this one before. Details attached for the make -d install:
As you can see, even when invoking gcc as the compiler, it continues to demand that I run make first, despite already doing so immediately before.
Another reminder: This successfully worked on other AIX platforms, and I confirmed that the makefile changes matches on from the working environments and this one. What can I do to expand on the reason for make install to demand I run make again?
Strange. I see now that the Makefile.install is acting on a simple token - it expects an empty file "lib.grd" to be present as a sign that make has been run before (there is a touch lib.grd at the end of the libs target in Makefile). Do you have this file in /scratch/focal_point/Packages/OpenBLAS ?
Strange. Do I understand correctly that the same make install worked on a number of other AIX machines, and just one system is giving you this problem ?
That is correct. The modified files (driver/others/memory.c, Makefile.install, and Makefile.system) was explicitly copied over from a different AIX server to this one. Also confirmed (oslevel -s) that everything matches (7100-05-01-1731). The only difference is AIX Toolbox's info-6.4-1.aix6.1.ppc.rpm and rpm.rte 4.13.0.5 on newer server, and info-6.3-1.aix6.1.ppc.rpm and rpm.rte 4.13.0.4 on older server. I doubt they play a part, but have to mention.
I could chalk it up to "there is a ghost in this server" and package up the existing binaries on a different AIX server, and install on the new server. Is there a documentation where everything is parked on, or do I have to go through the Makefile.install script to find them all?
Guess you could try touch lib.grd (or change the keyword error in Makefile.install to info)... ghost in this server looks plausible if there were no issues with the build as such.
Activity
brada4 commentedon Nov 30, 2018
Your "compiler" did not compile "getarch" detection program.
You need a C compiler that emits binaries, like fine free gcc.
Teej42 commentedon Nov 30, 2018
To clarify this - I did invoke the compiler in the other make:
make BINARY=64 CC=gcc FC=gfortran FFLAGS="-O2 -maix64" RANLIB=ranlib LD=ld AR=ar MAKE_NB_JOBS=1make.txt
sudo make -d CC=gcc install > install.txt 2>&1install.txt
As you can see, even when invoking gcc as the compiler, it continues to demand that I run make first, despite already doing so immediately before.
Another reminder: This successfully worked on other AIX platforms, and I confirmed that the makefile changes matches on from the working environments and this one. What can I do to expand on the reason for
make installto demand I runmakeagain?To help, here's the modified Makefiles:
Makefile.install.txt
Makefile.system.txt
martin-frbg commentedon Nov 30, 2018
Does it work when you invoke the
make installwith bothCC=gccandBINARY=64?Teej42 commentedon Nov 30, 2018
Unfortunately, no.
martin-frbg commentedon Nov 30, 2018
Strange. I see now that the Makefile.install is acting on a simple token - it expects an empty file "lib.grd" to be present as a sign that
makehas been run before (there is atouch lib.grdat the end of thelibstarget in Makefile). Do you have this file in /scratch/focal_point/Packages/OpenBLAS ?Teej42 commentedon Nov 30, 2018
Yup:
martin-frbg commentedon Nov 30, 2018
Just for fun - do you still see it when you do
sudo ls -al lib.grd?Teej42 commentedon Nov 30, 2018
martin-frbg commentedon Nov 30, 2018
Hmm. System time or filesystem timestamp problems perhaps (lib.grd seen to be older than Makefile.install or some such) ?
Teej42 commentedon Dec 3, 2018
Sorry, had to take care of things over the weekend:
Full file listing:
result.txt
martin-frbg commentedon Dec 3, 2018
Strange. Do I understand correctly that the same
make installworked on a number of other AIX machines, and just one system is giving you this problem ?Teej42 commentedon Dec 3, 2018
That is correct. The modified files (driver/others/memory.c, Makefile.install, and Makefile.system) was explicitly copied over from a different AIX server to this one. Also confirmed (oslevel -s) that everything matches (7100-05-01-1731). The only difference is AIX Toolbox's info-6.4-1.aix6.1.ppc.rpm and rpm.rte 4.13.0.5 on newer server, and info-6.3-1.aix6.1.ppc.rpm and rpm.rte 4.13.0.4 on older server. I doubt they play a part, but have to mention.
I could chalk it up to "there is a ghost in this server" and package up the existing binaries on a different AIX server, and install on the new server. Is there a documentation where everything is parked on, or do I have to go through the Makefile.install script to find them all?
martin-frbg commentedon Dec 3, 2018
Guess you could try
touch lib.grd(or change the keyworderrorin Makefile.install toinfo)... ghost in this server looks plausible if there were no issues with the build as such.Teej42 commentedon Dec 3, 2018
Interesting. When I changed to
info, I got this:It turns out that the file had all of its tabs converted to whitespace for some odd reason. I fixed this, and the install script works.
So there's a ghost in the sftp software or something else that broke this the first time. Maybe I watered the file after midnight by mistake...
Sorry about this, closing.