Can you try to compile and run this program and see what happens?
#include <stdio.h> #include <mpi.h> main(int argc, char **argv) { int node; MPI_Init(&argc,&argv); MPI_Comm_rank(MPI_COMM_WORLD, &node); printf("Hello World from Node %d\n",node); MPI_Finalize(); }
For example, if the above code is saved as mpi_hello.c, then run
$ mpicc mpi_hello.c -o mpi_hello
$ ./mpi_hello
$ mpirun -n 3 ./mpi_hello
On 09/08/17 10:01, Anna Kalogirou wrote:
Hi Miklos,
I did run brew doctor already, fixed all the warnings and attempted the installation again. Same error.How do I fix the MPI C compiler then?
Thanks,
Anna.
On 9 Aug 2017, at 09:58, Miklós Homolya <m.homolya14@imperial.ac.uk> wrote:
_______________________________________________Hello Anna,
Apparently you MPI C compiler is not working. Are your brew packages up-to-date, and is the output of "brew doctor" clean?
Regards,
Miklos
On 08/08/17 22:39, Anna Kalogirou wrote:
Dear all,
I have been trying to install firedrake on my other laptop but I get errors at the petsc stage. Install log is attached.
Thank you,
Anna.
> On 31 Jul 2017, at 16:17, Anna Kalogirou <a.kalogirou@leeds.ac.uk> wrote:
>
> Thanks Lawrence, the second installation attempt worked.
>
> Best, Anna.
>
>
>> On 31 Jul 2017, at 15:17, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk> wrote:
>>
>>
>>> On 31 Jul 2017, at 14:07, Anna Kalogirou <A.Kalogirou@leeds.ac.uk> wrote:
>>>
>>> I also have an issue with libspatialindex. Any ideas?
>>>
>>
>> 2017-07-31 13:49:27,832 DEBUG ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known
>> fatal: Could not read from remote repository.
>>
>> Please make sure you have the correct access rights
>> and the repository exists.
>>
>> 2017-07-31 13:49:27,833 WARNING Failed to clone libspatialindex using ssh, falling back to https.
>> 2017-07-31 13:49:57,912 DEBUG fatal: unable to access 'https://github.com/firedrakeproject/libspatialindex.git/': Could not resolve host: github.com
>>
>> 2017-07-31 13:49:57,913 ERROR Failed to clone libspatialindex branch master.
>> 2017-07-31 13:49:57,926 INFO
>>
>>
>> It looks like your internet connection or DNS fell over. Cloning the libspatialindex repository failed.
>>
>> Lawrence
>> _______________________________________________
>> firedrake mailing list
>> firedrake@imperial.ac.uk
>> https://mailman.ic.ac.uk/mailman/listinfo/firedrake
>
>
> _______________________________________________
> firedrake mailing list
> firedrake@imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/firedrake
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake