CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

AD build installation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2024, 10:41
Default AD build installation error
  #1
New Member
 
Adithya B Nair
Join Date: Jun 2024
Posts: 3
Rep Power: 2
adithya123 is on a distinguished road
I downloaded the required C++ and python compilers for SU2.I wanted to do AD build but the following error arises:
Downloading CoDiPack '9ca6c38280610b3ea5337ca3e5b5085ee1c66b59'
Traceback (most recent call last):
File "./meson.py", line 39, in <module>
preconfigure.run(own_meson=False)
File "/home/adithya-b-nair/Desktop/SU2/preconfigure.py", line 97, in run
own_mlpcpp=own_mlpcpp,
File "/home/adithya-b-nair/Desktop/SU2/meson_scripts/init.py", line 132, in init_submodules
codi_name, alt_name_codi, github_repo_codi, sha_version_codi
File "/home/adithya-b-nair/Desktop/SU2/meson_scripts/init.py", line 299, in download_module
zipf = MyZipFile(filepath)
File "/home/adithya-b-nair/anaconda3/lib/python3.7/zipfile.py", line 1258, in __init__
self._RealGetContents()
File "/home/adithya-b-nair/anaconda3/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
How to fix this error ?
adithya123 is offline   Reply With Quote

Old   June 26, 2024, 13:40
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17
bigfootedrockmidget is on a distinguished road
It looks like the download of the package did not succeed for some reason.
Maybe the best is to create a new clone and try again:
Code:
git clone https://github.com/su2code/su2.git
./meson.py build --optimization=2 -Ddebug=false -Denable-pywrapper=true -Denable-tests=false -Denable-autodif
f=true -Dwith-mpi=enabled -Denable-cgns=true -Denable-tecio=false --prefix=/home/adithya-b-nair/Desktop/SU2/


bigfootedrockmidget is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 22:10.