Set Instant compiler
How can I set the compiler in Instant? Right now it's using gcc, but I'd like it to use icc.
Here's a recent error in compile.log:
$ cat compile.log
running build_ext
building '_e9edd3aa6aff6
creating build
creating build/temp.
gcc -pthread -fno-strict-
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Paul Constantine
- Solved:
- 2013-01-31
- Last query:
- 2013-01-31
- Last reply:
- 2013-01-31
Johannes Ring (johannr) said : | #1 |
Try setting the CC and CXX environment variables.
Johan Hake (johan-hake) said : | #2 |
By setting CC and CXX like Johannes suggests will make distutils to use
that. We are, however, working on getting instant to use CMake instead
of distutils. Then we can use all the configuration variables acquired
during configuration of UFC and DOLFIN, like compiler type, in the
generation of the JIT compiled extension modules. This will get merged
into trunk soon.
Johan
On 01/31/2013 09:35 AM, Paul Constantine wrote:
> New question #220641 on DOLFIN:
> https:/
>
> How can I set the compiler in Instant? Right now it's using gcc, but I'd like it to use icc.
>
> Here's a recent error in compile.log:
>
> $ cat compile.log
> running build_ext
> building '_e9edd3aa6aff6
> creating build
> creating build/temp.
> gcc -pthread -fno-strict-
> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
> error: command 'gcc' failed with exit status 1
>
>
Thanks!