PLASMA 2.4.6 fails with --downlapc?

Open forum for general discussions relating to PLASMA.

PLASMA 2.4.6 fails with --downlapc?

Postby stefan » Fri Sep 14, 2012 8:36 am

hey,

i wanted to install just the lapack c interface as everything else is provided by goto2/openblas but it currently fails with the new installer.

Traceback (most recent call last):
File "./setup.py", line 70, in <module>
sys.exit(main(sys.argv))
File "./setup.py", line 63, in main
Lapcwrapper(config, plasma)
File "/home/stefan/test/plasma-installer_2.4.6/script/lapcwrapper.py", line 59, in __init__
self.down_install_lapc()
File "/home/stefan/test/plasma-installer_2.4.6/script/lapcwrapper.py", line 141, in down_install_lapc
downloader(self.lapcurl,self.downcmd)
AttributeError: Lapcwrapper instance has no attribute 'lapcurl'

If I change the self.lapcurl on line 141 in script/lapcwrapper.py to self.lapackurl it works. Hope this helps.

cheers,
stefan
stefan
 
Posts: 1
Joined: Mon Mar 26, 2012 8:22 pm
Location: Vienna, Austria

Re: PLASMA 2.4.6 fails with --downlapc?

Postby mateo70 » Mon Oct 08, 2012 11:03 am

Hello,

yes something has changed in lapack since the release and it doesn't work anymore. Here is a patch to make it works. A new release will come soon integrating thos fix.

Mathieu

Index: script/framework.py
===================================================================
--- script/framework.py (révision 3218)
+++ script/framework.py (révision 3234)
@@ -49,7 +49,7 @@
"2.0.0",
"1.0.1", "1.0.0")
oldversions = ("2.1.0", "2.0.0", "1.0.1", "1.0.0") # Releases from version which need the internal cblas and lapack
- lapversion = "lapack-3.4.1"
+ lapversion = "lapack-3.4.2"
ranlib = "" # the ranlib command
clean = 0
nbcores = 2
Index: script/lapcwrapper.py
===================================================================
--- script/lapcwrapper.py (révision 3218)
+++ script/lapcwrapper.py (révision 3234)
@@ -138,7 +138,7 @@
# otherwise download it
if not os.path.isfile(os.path.join(os.getcwd(),getURLName(self.lapackurl))):
print "Downloading reference LAPACK C interface...",
- downloader(self.lapcurl,self.downcmd)
+ downloader(self.lapackurl,self.downcmd)
print "done"

# unzip and untar
mateo70
 
Posts: 94
Joined: Fri May 07, 2010 3:48 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 1 guest