Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15947 closed update (fixed)

Gromacs update to v4.0 + variants

Reported by: mlund (Mikael Lund) Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: gromacs

Description

Upgrade of gromacs from 3.3.1 (broken 10.5) to 3.3.3. Implemented variants +double and +mpi for double precision arithmetics and Open MPI support, respectively.

Tested on macos 10.5.3, i386.

Attachments (2)

error.log (2.7 KB) - added by mjhsieh (Mengjuei Hsieh) 16 years ago.
error on Powerpc platform
Portfile-rrdtool.diff (1.6 KB) - added by mlund (Mikael Lund) 16 years ago.

Download all attachments as: .zip

Change History (19)

comment:1 Changed 16 years ago by mjhsieh (Mengjuei Hsieh)

the port filename is confusing though. :-)

comment:2 Changed 16 years ago by mlund (Mikael Lund)

"Short Summary: [port] [version] [concise description]"

...sorry missed that part - will behave next time ;)

Changed 16 years ago by mjhsieh (Mengjuei Hsieh)

Attachment: error.log added

error on Powerpc platform

comment:3 Changed 16 years ago by mlund (Mikael Lund)

On powerpc, macports gcc 4.2 is now used to compile as this is the only way I was able to compile gromacs under ppc. For the time being the mpi variant is disabled due to incompatible combinations of lammpi, openmpi, ppc and intel.

comment:4 Changed 16 years ago by mlund (Mikael Lund)

Added a "nox" variant to disable X11 dependencies.

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Could you please separate the whitespace changes from the functional changes?

comment:6 in reply to:  5 Changed 16 years ago by mlund (Mikael Lund)

Replying to jmr@macports.org:

Could you please separate the whitespace changes from the functional changes?

I don't know how to do that, save manually with the risk of making mistakes. Can it be done in another way? And is this crucial for such a short portfile?

comment:7 Changed 16 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

AFAIK, it must be done manually. By the same token, since it's a small file, it won't be that hard to do ;). It's just hard to see what changes you made because it looks like everything has changed due to the (nice) spacing fixes.

comment:8 in reply to:  7 Changed 16 years ago by mlund (Mikael Lund)

White space changes removed altogether.

comment:9 Changed 16 years ago by mf2k (Frank Schima)

I ran it but it seems to conflict with mono:

--->  Activating gromacs @3.3.3_0
Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man1/disco.1.gz is being used by the active mono port.  Please deactivate this port first, or use the -f flag to force the activation.
Error: Status 1 encountered during processing.

Changed 16 years ago by mlund (Mikael Lund)

Attachment: Portfile-rrdtool.diff added

comment:10 Changed 16 years ago by mlund (Mikael Lund)

Updated to Gromacs 4 which also solved the mono conflict.

comment:11 Changed 16 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… removed
Owner: changed from macports-tickets@… to macsforever2000@…
Port: gromacs added

comment:12 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Committed revision r40991. Thanks! Now you can fix the whitespace and lint problems! :)

comment:13 Changed 16 years ago by mf2k (Frank Schima)

Summary: Gromacs update to v3.3.3 + variantsGromacs update to v4.0 + variants

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

Syntax error on PowerPC:

Error: Error executing darwin_powerpc: invalid command name "build_lib-append"
Error: Unable to open port: Error evaluating variants

Fixed in r41003.

Is the older gcc 4.2 really necessary, or would the current gcc 4.3 work too? I can try building it in a moment. If gcc 4.3 will work, we should use that instead of forcing people to build the older version.

Also, a variant to disable X11 support is usually called "no_x11", not "nox".

comment:15 in reply to:  14 Changed 16 years ago by mlund (Mikael Lund)

It would be great if you could test on PPC/gcc 4.3. Gromacs 3.x does not compile with the Apple supplied gcc 4.0.1 on ppc, hence this work-around. Unfortunately I no longer have access to a PPC mac, so I can't test if this is also the case with Gromacs 4. Thanks / Mikael

comment:16 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:17 Changed 15 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.