OpenMPI on SL

Nils n.bruenggel at gmail.com
Fri Sep 18 07:28:36 PDT 2009


Hi

>> - When port builds the packages (eg after typing port install blah)
>>   does it use all available cores for compiling
> Yes, it does.
>> and if not, where can I configure that?
>
> build_make_jobs in macports.conf. "0" means as many cores as are available,
> though the number is reduced if you have less RAM. Individual ports might
> disable parallel building if they are known to be incompatible with it.

It was commented out, so I set it to 3 (on a MB Pro with 4 GB RAM)

buildmakejobs           3


>
>> --->  Building gcc43
>> Error: Target org.macports.build returned: shell command " cd
>>
>> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build"
>> && /usr/bin/make -j2 all " returned error 2
>
> All gcc ports have been broken in Snow Leopard until very recently, but I
> was able to install gcc43, gcc44 and gcc45 yesterday. Please "sudo port
> selfupdate" to make sure you have the very latest ports, then try again.

Thx for the hint, will try.


More information about the macports-users mailing list