Error with compiler while trying to run FEniCS example codeHow can I profile C++ code running on Linux?Compile errors for double linked list codeHow do I achieve the theoretical maximum of 4 FLOPs per cycle?When should I really use noexcept?Why can't my program compile under Windows 7 in French?Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviationsUnable to compile C++ code with Boost and MPICH2OpenCV2 Code linkage ErrorC++ compiling with MacOS Mojave : fatal error: mpi.h: No such file or directoryDoes the C++ standard allow for an uninitialized bool to crash a program?

Giant Toughroad SLR 2 for 200 miles in two days, will it make it?

Meta programming: Declare a new struct on the fly

Why does this part of the Space Shuttle launch pad seem to be floating in air?

Who must act to prevent Brexit on March 29th?

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

Lifted its hind leg on or lifted its hind leg towards?

Can I use my Chinese passport to enter China after I acquired another citizenship?

Calculating the number of days between 2 dates in Excel

The One-Electron Universe postulate is true - what simple change can I make to change the whole universe?

Greatest common substring

Installing PowerShell on 32-bit Kali OS fails

Is it possible to build a CPA Secure encryption scheme which remains secure even when the encryption of secret key is given?

Why are all the doors on Ferenginar (the Ferengi home world) far shorter than the average Ferengi?

Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?

What do you call the infoboxes with text and sometimes images on the side of a page we find in textbooks?

Books on the History of math research at European universities

The most efficient algorithm to find all possible integer pairs which sum to a given integer

How can I successfully establish a nationwide combat training program for a large country?

Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities

Is there a problem with hiding "forgot password" until it's needed?

How do ultrasonic sensors differentiate between transmitted and received signals?

word describing multiple paths to the same abstract outcome

Is there any significance to the Valyrian Stone vault door of Qarth?



Error with compiler while trying to run FEniCS example code


How can I profile C++ code running on Linux?Compile errors for double linked list codeHow do I achieve the theoretical maximum of 4 FLOPs per cycle?When should I really use noexcept?Why can't my program compile under Windows 7 in French?Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviationsUnable to compile C++ code with Boost and MPICH2OpenCV2 Code linkage ErrorC++ compiling with MacOS Mojave : fatal error: mpi.h: No such file or directoryDoes the C++ standard allow for an uninitialized bool to crash a program?













2















I've just tried to install FEniCS on Ubuntu 16.04 and when I try to run the first example code using python3.5 I get the following 2 errors:



 RuntimeError: Expecting a string or list of strings, not
'slepc_real', 'sz', 'mpi', 'mpi_cxx', 'hdf5', 'boost_timer', 'm',
'boost_filesystem', 'z', 'dolfin', 'petsc_real', 'dl'.

RuntimeError: Unable to compile C++ code with dijitso


image of error attached



Has anyone encountered this and managed to fix it?










share|improve this question









New contributor




Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    2















    I've just tried to install FEniCS on Ubuntu 16.04 and when I try to run the first example code using python3.5 I get the following 2 errors:



     RuntimeError: Expecting a string or list of strings, not
    'slepc_real', 'sz', 'mpi', 'mpi_cxx', 'hdf5', 'boost_timer', 'm',
    'boost_filesystem', 'z', 'dolfin', 'petsc_real', 'dl'.

    RuntimeError: Unable to compile C++ code with dijitso


    image of error attached



    Has anyone encountered this and managed to fix it?










    share|improve this question









    New contributor




    Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      2












      2








      2








      I've just tried to install FEniCS on Ubuntu 16.04 and when I try to run the first example code using python3.5 I get the following 2 errors:



       RuntimeError: Expecting a string or list of strings, not
      'slepc_real', 'sz', 'mpi', 'mpi_cxx', 'hdf5', 'boost_timer', 'm',
      'boost_filesystem', 'z', 'dolfin', 'petsc_real', 'dl'.

      RuntimeError: Unable to compile C++ code with dijitso


      image of error attached



      Has anyone encountered this and managed to fix it?










      share|improve this question









      New contributor




      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I've just tried to install FEniCS on Ubuntu 16.04 and when I try to run the first example code using python3.5 I get the following 2 errors:



       RuntimeError: Expecting a string or list of strings, not
      'slepc_real', 'sz', 'mpi', 'mpi_cxx', 'hdf5', 'boost_timer', 'm',
      'boost_filesystem', 'z', 'dolfin', 'petsc_real', 'dl'.

      RuntimeError: Unable to compile C++ code with dijitso


      image of error attached



      Has anyone encountered this and managed to fix it?







      c++ python-3.x fenics






      share|improve this question









      New contributor




      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Mar 21 at 15:07









      Siong Thye Goh

      1,57911016




      1,57911016






      New contributor




      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 21 at 14:30









      Natasha Natasha

      111




      111




      New contributor




      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Natasha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Natasha is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55282761%2ferror-with-compiler-while-trying-to-run-fenics-example-code%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Natasha is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          Natasha is a new contributor. Be nice, and check out our Code of Conduct.












          Natasha is a new contributor. Be nice, and check out our Code of Conduct.











          Natasha is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55282761%2ferror-with-compiler-while-trying-to-run-fenics-example-code%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript