Skip to Content.
Sympa Menu

charm - Re: [charm] File with unrecognized extension on mac

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] File with unrecognized extension on mac


Chronological Thread 
  • From: "Diener, Matthias" <mdiener AT illinois.edu>
  • To: Jozsef Bakosi <jbakosi AT lanl.gov>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] File with unrecognized extension on mac
  • Date: Sun, 25 Aug 2019 17:45:30 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=illinois.edu; dmarc=pass action=none header.from=illinois.edu; dkim=pass header.d=illinois.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WSpQ9A/1xqybvM9J/uX2JzHn8aWB9e86ygdzrkGf6Pk=; b=LK0s5uaXc2bDCq5t4zGhXAZVf60iTrepfM6v+tq5yEHNMatVvueO7drOwVnKXXO8bX3ThDRpliAbiWMCB26i81AVMKUE3d6DO2hxVZwsODJ5bC5Pnj7pKJZ1LObdPTKk6BTPedusEdP2lq0b/VBoFpCfUcTI+tDfCfiEL6nAcTC6d84eIzA9uTJkWKtgiUWnu10rW9RTEiX6k41qaPrOx7GQYOvxvT+aFoG9zsKPe136rX5feq3WYwE799hCkSmqUNZ63MlHNP/vDNyLjIczccg8SYkzYmsM1GtJbew8GR+Uqc5ckNH4EAb0ZV/zIkQLNsABK1pSO3zvmUAJ48uSUQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ELswI2dFjHgghGRdI/RpDob/9QZEVxoqPT8YqD0kWLa98cR+Mt5BtldtiNv88nTGoNixrrDjdBemx0gOsPwyVSrkpgjaQCfL8sMMHW1h8UxN5h4gZyQIGS/R2PxoE6e43xM8TgCve8Ks1IxW/UuUvGmZabVKLHPEilnB6u99aMsP3A4aQV+m4D9tZsbJieYoRqM9ykyl2WWYXCnPkf2K9AKyVz/HeP6CChOOYaY9Ln8NENxKN9CdKma4xv4sjFan3xSBMP3cgLe25zyf7GpiX/k/tAqQkGj2xM2lvsHHcD6pYw1rqhsLLwyJAL03V8WAyUNwKpZc2yPCaOz8zZxP5g==
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=mdiener AT illinois.edu; dmarc=pass header.from=illinois.edu

Hi Jozsef,

Thank you for confirming that the workaround solves the problem. I
added this as an issue on our bug tracker
(https://github.com/UIUC-PPL/charm/issues/2495) so it is easier to
google.

Best,
Matthias
--
Matthias Diener
Postdoctoral Researcher in Computer Science
University of Illinois at Urbana-Champaign

On Fri, Aug 23, 2019 at 2:18 PM Jozsef Bakosi
<jbakosi AT lanl.gov>
wrote:
>
> Ah, alright, I was able to do sudo, run that command, and now it links fine.
>
> Thanks a lot for the help,
> Jozsef
>
> On 08.23.2019 12:56, Jozsef Bakosi wrote:
> > Hi Matthias,
> >
> > Do you know how I can run that command without sudo? (I do have admin
> > account but only from the GUI - if that makes sense.)
> >
> > J
> >
> > On 08.23.2019 16:10, Diener, Matthias wrote:
> > > Did you also install the extra package?:
> > > $ sudo installer -pkg
> > > /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> > > -target /
> > >
> > > (this used to be installed automatically with "xcode-select
> > > --install", but apparently not anymore with macOS 10.14)
> > >
> > > --
> > > Matthias Diener
> > > Postdoctoral Researcher in Computer Science
> > > University of Illinois at Urbana-Champaign
> > >
> > > On Fri, Aug 23, 2019 at 9:31 AM Jozsef Bakosi
> > > <jbakosi AT lanl.gov>
> > > wrote:
> > > >
> > > > Not a bad idea, but no, I did run xcode-select --install.
> > > >
> > > > The problem is triggered by the following in the link line:
> > > >
> > > > -isysroot
> > > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> > > >
> > > > of which, I believe, charmc thinks the path is an object to link,
> > > > instead of an argument to -isysroot?
> > > >
> > > > J
> > > >
> > > > On 08.19.2019 20:14, Diener, Matthias wrote:
> > > > > Hi Jozsef,
> > > > >
> > > > > Could you please post your ./build command?
> > > > >
> > > > > Does installing the macOS header files with the following command
> > > > > make
> > > > > the build work?
> > > > > $ sudo installer -pkg
> > > > > /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> > > > > -target /
> > > > >
> > > > > (you might need to run
> > > > > $ xcode-select --install
> > > > > first)
> > > > >
> > > > > Thank you,
> > > > > Matthias
> > > > > --
> > > > > Matthias Diener
> > > > > Postdoctoral Researcher in Computer Science
> > > > > University of Illinois at Urbana-Champaign
> > > > >
> > > > > On Mon, Aug 19, 2019 at 2:57 PM Jozsef Bakosi
> > > > > <jbakosi AT lanl.gov>
> > > > > wrote:
> > > > > >
> > > > > > Hi folks,
> > > > > >
> > > > > > On OSX/mojave, using gcc, I'm getting the following linker error:
> > > > > >
> > > > > > Fatal Error by charmc in directory ...
> > > > > > file with unrecognized extension
> > > > > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> > > > > >
> > > > > > That file exist, but I'm not sure why this is an unrecognized
> > > > > > extension
> > > > > > on mac for linking.
> > > > > >
> > > > > > Any ideas?
> > > > > >
> > > > > > Thanks,
> > > > > > Jozsef



Archive powered by MHonArc 2.6.19.

Top of Page