<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Hello Roland,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
My laptop is x86 based.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I succeeded to get gcc-12 to work!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
It still complained after uninstalling and reinstalling XCode and CommandLineTools.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
The problem was that the ld path for anaconda3 was above the one for /usr/bin, even after uninstalling anaconda3.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
The compilation stopped at:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted2">
Cactus/configs/sim/build/FLRWSolver/flrw_powerspecics.f90:833:0:<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted1">
<div class="ContentPasted1"> include 'fftw3.f03'</div>
Fatal Error: Cannot open included file 'fftw3.f03'. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<div><br class="ContentPasted0">
</div>
<div class="ContentPasted0">Is there a fix?</div>
<div class="ContentPasted0"><br>
</div>
<div class="ContentPasted0">Maria</div>
</div>
<div class="elementToProof">
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>
<div dir="ltr">_______________________</div>
<div dir="ltr"><i><font size="2">Maria C. Babiuc Hamilton, Ph.D.</font></i></div>
<div dir="ltr"><i><font size="2">Professor, Department of Physics </font></i></div>
<div dir="ltr"><i style="font-size:12pt"><font size="2"><i style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><font size="2"></font></i>College of Science, </font></i><i style="font-size:12pt"><font size="2">Marshall University,</font></i></div>
<div dir="ltr"><i><font size="2">1 John Marshall Drive, </font></i><i style="font-size:12pt"><font size="2">Huntington, WV, 25755</font></i></div>
<div dir="ltr"><i><font size="2"><i style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt"><font size="2"><i style="font-size:12pt"><font size="2">Room S 257, <span id="ms-rterangepaste-start"></span><i style="font-size:16px"><font size="2">Phone:
(304)696-2754</font></i></font></i></font></i><br>
</font></i></div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0);">
<br>
<hr tabindex="-1" style="display:inline-block; width:98%;">
<b>From:</b> Roland Haas<br>
<b>Sent:</b> Monday, February 20, 2023 6:32 AM<br>
<b>To:</b> Hamilton, Maria<br>
<b>Cc:</b> users@einsteintoolkit.org<br>
<b>Subject:</b> Re: [Users] ETK on mac os Ventura -- unsupported tapi file error
<div><br>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hello Maria,<br>
<br>
Is you laptop M1 or x86 based?<br>
<br>
Only the most recent release (ET_2022_11) has been tested on M1 macOS.<br>
<br>
The error you are getting is strange since it reports trying to compile<br>
for x86 which of course should not happen on M1 system.<br>
<br>
Beyond that I unfortunately cannot help since I do not myself use macOS<br>
(I compiler precisely 4 times a year, once for macports, once for<br>
homebrew for each release).<br>
<br>
You could try and re-install the commandlinetools and xcode.<br>
<br>
The official way is actually to remove the folder directly (no<br>
uninstall, <a href="https://stackoverflow.com/a/29949289):" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable">
https://stackoverflow.com/a/29949289):</a><br>
<br>
sudo rm -rf /Library/Developer/CommandLineTools<br>
<br>
Yours,<br>
Roland<br>
<br>
> While trying to create a configuration, I got this error:<br>
> ____________<br>
> cat configs/sim/config-data/config.log<br>
> This file contains any messages produced by compilers while<br>
> running configure, to aid debugging if configure makes a mistake.<br>
> <br>
> configure:922: checking host system type<br>
> configure:948: checking for mawk<br>
> configure:948: checking for gawk<br>
> configure:948: checking for nawk<br>
> configure:948: checking for awk<br>
> configure:1017: checking whether make sets ${MAKE}<br>
> configure:1082: checking whether the C compiler (gcc-12 -g -std=gnu99 -rdynamic) works<br>
> configure:1099: gcc-12 -o conftest -g -std=gnu99 -rdynamic conftest.c 1>&5<br>
> ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' for architecture x86_64<br>
> collect2: error: ld returned 1 exit status<br>
> configure: failed program was:<br>
> <br>
> #line 1094 "configure"<br>
> #include "confdefs.h"<br>
> <br>
> int main(){return(0);} int PilotMain(){return(0);}<br>
> (base)<br>
> ____________<br>
> <br>
> Browsing the internet I founnd that this might appear if Anaconda is installed. I uninstalled it and the error is still there.<br>
> Any suggestion on how to fix it?<br>
> <br>
> Thanks,<br>
> Maria<br>
> <br>
> <br>
> _______________________<br>
> Maria C. Babiuc Hamilton, Ph.D.<br>
> Professor, Department of Physics<br>
> College of Science, Marshall University,<br>
> 1 John Marshall Drive, Huntington, WV, 25755<br>
> Room S 257, Phone: (304)696-2754<br>
> <br>
<br>
<br>
<br>
-- <br>
My email is as private as my paper mail. I therefore support encrypting<br>
and signing email messages. Get my PGP key from <a href="http://keys.gnupg.net" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-loopstyle="link">
http://keys.gnupg.net</a>.<br>
</div>
</span></font></div>
</div>
</div>
</div>
</div>
</body>
</html>