Opened 14 years ago

Closed 14 years ago

#28757 closed defect (invalid)

atlas takes a long time to compile

Reported by: sorin.sbarnea@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: atlas

Description

I have the latest macports (1.9.2) and did the selfupdate and a update obsolete.

When I try to install atlas the CPU get blocked.

From what I know the gcc installed is 4.4 and if I want to install 4.5 I get a similar problem.

Attachments (1)

main.log (1000.0 KB) - added by sorin.sbarnea@… 14 years ago.

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by sorin.sbarnea@…

Attachment: main.log added

comment:1 Changed 14 years ago by sorin.sbarnea@…

In case it is important: MacBook Pro (2010) with 4 cores, 8GB RAM, and OS X 10.6.6

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to jameskyle@…
Port: atlas added
Priority: HighNormal
Summary: sudo port install atlas nor working - blocked with 100% cpuatlas takes a long time to compile

What makes you think anything is wrong? Atlas takes a very long time (hours) to compile. While MacPorts is doing so, it will use as much of your CPU as possible. Wait for it to finish.

comment:3 Changed 14 years ago by sorin.sbarnea@…

Sorry in this case. I did not expect to have to wait such a long time with a new computer. There was no feedback on screen for more than two hours. Is there a way to make the console output more verbose, in order to know if it really does something?

comment:4 Changed 14 years ago by Veence (Vincent)

Please post the log of the configure phase. You have the new MacBook or the previous hardware?

comment:5 in reply to:  3 Changed 14 years ago by mf2k (Frank Schima)

Replying to sorin.sbarnea@…:

Sorry in this case. I did not expect to have to wait such a long time with a new computer. There was no feedback on screen for more than two hours. Is there a way to make the console output more verbose, in order to know if it really does something?

Use the -v flag for verbose output.

comment:6 in reply to:  3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to sorin.sbarnea@…:

I did not expect to have to wait such a long time with a new computer.

Much of the speed of your new computer comes from it having multiple processor cores. For most ports, this helps them build faster. MacPorts starts multiple make jobs -- the number of jobs is the number of virtual cores, or the number of GB of RAM, whichever is fewer. You have 4 physical cores hyperthreaded to 8 virtual cores, and 8 GB of RAM, so MacPorts will start 8 make jobs -- for ports that support it. Unfortunately the atlas port was found to not build correctly with parallel building, so parallel building was turned off for atlas, so it will not benefit from all these cores you have available.

You mentioned gcc45 as well. That is also a large port that will take time to build. Fortunately parallel building works fine for gcc45, and yet, not all of a software's build tasks can be done in parallel, so not all 8 virtual cores will be busy all of the time.

Replying to macsforever2000@…:

Use the -v flag for verbose output.

As in: sudo port -v install atlas

comment:7 Changed 14 years ago by sorin.sbarnea@…

Thanks, please close the bug, probably as invalid.

comment:8 Changed 14 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.