Bug 221098

Summary: [NEW PORT] science/Trilinos: Framework for solution for engineering and scientific problems
Product: Ports & Packages Reporter: Jesse Smith <jsmith>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: betsanalizci, bozayimacun123, diizzy, koobs, mikegibson096, msaddkijalel, nafta0404, natetinor, prisinghkismis1998, raymond.reynoldssss, s.techmantra, vanajansr2, yuri
Priority: --- Keywords: feature, needs-patch, needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (jsmith)
Hardware: Any   
OS: Any   
URL: https://github.com/trilinos/Trilinos/
Attachments:
Description Flags
Initial shar of port none

Description Jesse Smith 2017-07-30 01:20:49 UTC
Created attachment 184838 [details]
Initial shar of port

This is a new port for the Trilinos project. 

Description: The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems. A unique design feature of Trilinos is its focus on packages.

Website: https://github.com/trilinos/Trilinos/

This port is on the FreeBSD Ports Wanted wiki page.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-08-01 06:13:57 UTC
Thank you for fulfilling a WantedPorts request
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2017-08-04 21:04:31 UTC
Please fix these errors:

# portlint -A
WARN: /usr/ports/science/trilinos/pkg-descr: includes lines that exceed 80 characters.
FATAL: Makefile: [1]: incorrect header; use Created by: with a single space, then $FreeBSD$.
WARN: Makefile: COMMENT is not supposed to begin with 'A ', 'An ', or 'The '.
FATAL: Makefile: non-comment line in comment section.
FATAL: Makefile: no $FreeBSD$ line in comment section.
FATAL: Makefile: extra item "MAINTAINER" placed in the PORTNAME section.
FATAL: Makefile: extra item "COMMENT" placed in the PORTNAME section.
FATAL: Makefile: PORTNAME has to be there.
WARN: Makefile: PORTVERSION/DISTVERSION is set externally to this port's Makefile, but this port is not configured as a slave port.
WARN: Makefile: CATEGORIES is set externally to this port's Makefile, but this port is not configured as a slave port.
FATAL: Makefile: extra item "LICENSE" placed in the MAINTAINER section.
FATAL: Makefile: extra item "LICENSE_COMB" placed in the MAINTAINER section.
WARN: Makefile: COMMENT is set externally to this port's Makefile, but this port is not configured as a slave port.
FATAL: Makefile: extra item "USES" placed in the LICENSE section.
FATAL: Makefile: extra item "CMAKE_ARGS" placed in the LICENSE section.
WARN: Consider to set DEVELOPER=yes in /etc/make.conf
10 fatal errors and 6 warnings found.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2017-08-04 21:11:05 UTC
Also, please fix these errors:

# make stage-qa
====> Running Q/A tests (stage-qa)
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'bin/nvcc_wrapper'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'bin/phalanx_create_evaluator.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/cmake/tribits/python_utils/gitdist.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for 'lib/cmake/tribits/python_utils/snapshot-dir.py'
*** Error code 1

Bash should be either made a RUN_DEPENDS, if it is essential, or replaced with /bin/sh if Bourne shell can run it.

USE=python is missing. Please also determine is any python works, or only python3, or only python3.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2017-08-04 21:14:00 UTC
Also, why do you disable Fortran? (-DTrilinos_ENABLE_Fortran:BOOL=OFF) It should be made a port option. Same with Trilinos_ENABLE_OpenMP.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2017-08-04 21:21:23 UTC
Please make it build dynamic libraries along with, or instead of static ones. Dynamic libraries should be preferred.

It fails to build in poudriere. Please always build ports in poudriere before submitting.[1] Poudriere fails to find x11, but stage-qa doesn't complain about x11. This is likely because their CMakeLists.txt requires it but doesn't actually use it, which is the bug in Trilinos if true. Upstream bugs need to be reported when found.

[1] https://www.freebsd.org/doc/handbook/ports-poudriere.html
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 10:27:32 UTC
batch change of PRs untouched in 2018 marked "in progress" back to open.
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2018-05-23 15:46:15 UTC
I tried to make the port for the whole Trilinos, not just a ortion of it as the submitted patch did, and couldn't yet make the rest build. Will come back to it.
Comment 8 vanajafe 2021-08-04 11:07:37 UTC
MARKED AS SPAM
Comment 9 s.techmantra 2021-09-14 09:10:50 UTC
MARKED AS SPAM
Comment 10 s.techmantra 2021-09-14 09:11:33 UTC
MARKED AS SPAM
Comment 11 FrankBrooks 2021-09-14 18:51:00 UTC
MARKED AS SPAM
Comment 12 nafta tatar 2021-09-22 08:30:40 UTC
MARKED AS SPAM
Comment 13 nafta tatar 2021-09-22 08:31:10 UTC
MARKED AS SPAM
Comment 14 nafta tatar 2021-09-22 08:31:33 UTC
MARKED AS SPAM
Comment 15 Kubilay Kocak freebsd_committer freebsd_triage 2021-09-22 23:49:54 UTC
@Yuri Do we need anything from OP or anywhere else to progress this?
Comment 16 Parker lane 2021-09-23 09:15:14 UTC
MARKED AS SPAM
Comment 17 Kubilay Kocak freebsd_committer freebsd_triage 2021-09-24 02:39:50 UTC
@Jesse Are you able to provide an update to address comments (shared libraries and fixing build issues)
Comment 18 msaddkijalel 2021-09-29 19:45:28 UTC
MARKED AS SPAM
Comment 19 msaddkijalel 2021-09-29 19:49:18 UTC
MARKED AS SPAM
Comment 20 letselschade berekenen 2021-10-16 09:53:16 UTC
MARKED AS SPAM
Comment 21 Tomas 2021-11-02 12:10:15 UTC
MARKED AS SPAM
Comment 22 Romio roxx 2021-11-02 14:53:32 UTC
MARKED AS SPAM
Comment 23 betsanalizci 2021-11-03 09:53:24 UTC
MARKED AS SPAM
Comment 24 Daniel Engberg freebsd_committer freebsd_triage 2022-08-07 18:11:56 UTC
Closing this due lack of response/feedback, please open a new PR if this is still relevant.
Comment 25 Yuri Victorovich freebsd_committer freebsd_triage 2022-08-07 18:13:30 UTC
Trilinos is already in the tree: science/trilinos.
Comment 26 Daniel Engberg freebsd_committer freebsd_triage 2022-08-07 18:35:40 UTC
Ahh, sorry for overlooking
Comment 27 Yuri Victorovich freebsd_committer freebsd_triage 2022-08-07 18:54:30 UTC
(In reply to Daniel Engberg from comment #26)

No problem, Daniel!