Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Fortran bind(C) support for basic OpenSHMEM routines #257

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ main_spec.log
main_spec.out
main_spec.pdf
main_spec.toc
language_ext.aux
language_ext.idx
language_ext.ilg
language_ext.ind
language_ext.log
language_ext.out
language_ext.pdf
language_ext.toc
14 changes: 12 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
TARGET = main_spec
LANG_EXT = language_ext
SOURCES = $(shell find . -name '*.tex' -print)
FIGURES = $(shell find figures -name '*.pdf' -print)
EXAMPLES = $(shell find example_code -name '*.[c,f]*' -print)

.PHONY: all
all: ${TARGET}.pdf
all: ${TARGET}.pdf ${LANG_EXT}.pdf

${TARGET}.pdf: ${SOURCES} ${FIGURES} ${EXAMPLES}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error: Duplicate ${TARGET}.pdf rule. Did you mean `${LANG_EXT}.pdf?

pdflatex $(LATEXOPT) ${TARGET}
makeindex ${TARGET}
pdflatex $(LATEXOPT) ${TARGET}
makeindex ${TARGET}
pdflatex $(LATEXOPT) ${TARGET}

${TARGET}.pdf: ${SOURCES} ${FIGURES} ${EXAMPLES}
pdflatex $(LATEXOPT) ${TARGET}
Expand All @@ -15,5 +23,7 @@ ${TARGET}.pdf: ${SOURCES} ${FIGURES} ${EXAMPLES}

.PHONY: clean
clean:
rm -f ${TARGET}.{log,aux,ps,dvi,bbl,blg,log,idx,out,toc,pdf,out} chappage.txt
rm -f ${TARGET}.{log,aux,ps,dvi,bbl,blg,log,idx,out,toc,pdf,out} \
${LANG_EXT}.{log,aux,ps,dvi,bbl,blg,log,idx,out,toc,pdf,out} \
chappage.txt

122 changes: 122 additions & 0 deletions language/coverpage.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
\thispagestyle{empty}
\begin{center}
\textbf{\LARGE Language Binding Extensions For}\\
\par
\end{center}

\begin{center}
\textbf{\Huge \openshmem}
\par
\end{center}

\begin{center}
\textbf{\LARGE Application Programming Interface}\\
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of this page should be abstracted via \input or something so all of the acknowledgments, etc. don't desync from the main_spec document.

\includegraphics[scale=0.65]{figures/OpenSHMEM_Pound}\\
\url{http://www.openshmem.org/}
\par
\end{center}

\begin{center}
Version \insertDocVersion
\par
\end{center}

\vspace{0.5in}
\begin{center}
\today
\end{center}

\vspace{0.5in}

\vfill{}

\section*{Development by}
\begin{itemize}
\item For a current list of contributors and collaborators please see\\
\url{http://www.openshmem.org/site/Contributors/}
\item For a current list of OpenSHMEM implementations and tools, please see\\
\url{http://openshmem.org/site/Links#impl/}

\end{itemize}

\pagebreak{}

\section*{Sponsored by}
\begin{itemize}
\item \ac{DoD}\\
\url{http://www.defense.gov/ }
\item \ac{ORNL}\\
\url{http://www.ornl.gov/}
\item \ac{LANL}\\
\url{http://www.lanl.gov/}
\end{itemize}

\section*{Current Authors and Collaborators}
\begin{itemize}
\item Matthew Baker, \ac{ORNL}
\item Swen Boehm, \ac{ORNL}
\item Aurelien Bouteiller, \ac{UTK}
\item Barbara Chapman, \ac{SBU}
\item Robert Cernohous, Cray Inc.
\item James Culhane, \ac{LANL}
\item Tony Curtis, \ac{SBU}
\item James Dinan, Intel
\item Mike Dubman, Mellanox
\item Karl Feind, \ac{HPE}
\item Manjunath Gorentla Venkata, \ac{ORNL}
\item Max Grossman, Rice University
\item Khaled Hamidouche, \ac{AMD}
\item Jeff Hammond, Intel
\item Yossi Itigin, Mellanox
\item Bryant Lam, \ac{DoD}
\item David Knaak, Cray Inc.
\item Jeff Kuehn, \ac{LANL}
\item Jens Manser, \ac{DoD}
\item Tiffany M. Mintz, \ac{ORNL}
\item David Ozog, Intel
\item Nicholas Park, \ac{DoD}
\item Steve Poole, \ac{OSSS}
\item Wendy Poole, \ac{OSSS}
\item Swaroop Pophale, \ac{ORNL}
\item Sreeram Potluri, NVIDIA
\item Howard Pritchard, \ac{LANL}
\item Naveen Ravichandrasekaran, Cray Inc.
\item Michael Raymond, \ac{HPE}
\item James Ross, \ac{ARL}
\item Pavel Shamis, ARM Inc.
\item Sameer Shende, \ac{UO}
\item Lauren Smith, \ac{DoD}

\end{itemize}

\section*{Alumni Authors and Collaborators}
\begin{itemize}
\item Amrita Banerjee, \ac{UH}
\item Monika ten Bruggencate, Cray Inc.
\item Eduardo D'Azevedo, \ac{ORNL}
\item Oscar Hernandez, \ac{ORNL}
\item Gregory Koenig, \ac{ORNL}
\item Graham Lopez, \ac{ORNL}
\item Ricardo Mauricio, \ac{UH}
\item Ram Nanjegowda, \ac{UH}
\item Aaron Welch, \ac{ORNL}

\end{itemize}

\date{\today}

\section*{Acknowledgments}
The \openshmem specification belongs to Open Source Software Solutions, Inc.
(OSSS), a non-profit organization, under an agreement with HPE. For a current list
of Contributors and Collaborators, please see
\url{http://www.openshmem.org/site/Contributors/}.
We gratefully acknowledge support from
Oak Ridge National Laboratory's
Extreme Scale Systems Center and the continuing support of the Department of Defense.\\
\\
We would also like to acknowledge the contribution of the members of the
\openshmem mailing list for their ideas, discussions, suggestions, and
constructive criticism which has helped us improve this document.\\
\\
\openshmem[1.4] is dedicated to the memory of David Charles Knaak. David was a highly involved
colleague and contributor to the entire OpenSHMEM project. He will be missed.
36 changes: 36 additions & 0 deletions language/frontmatter.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
\hypersetup{pageanchor=true,citecolor=blue}

% Set header/footer for opening content
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LE,LO]{\insertDocVersion}
\fancyhead[CO,CE]{--- DRAFT ---}
\SetWatermarkText{DRAFT}
\SetWatermarkScale{1}
\fancyfoot[CE,CO]{\thepage} %affects page numbering for the first pages,
%except the first ToC page

\pagenumbering{roman} %sets coverpage and toc page numbers to roman numerals

\input{language/coverpage}

\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\tableofcontents

\mainmatter % included for use of documenttype 'book'

% Set header/footer for main content
\pagestyle{fancy} %replacing {headings} with {fancy} for customization
\withlinenumbers %adds line numbers to edges of normal pages
\fancyhf{}
\fancyhead[RE, LO]{\rightmark}
\fancyhead[RO, LE]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\thesection}{\arabic{section}}

{ %using setlength to force standardized spacing, if needed
% this command is ended in backmatter.tex
%\setlength{\baselineskip}{3pt plus 3pt minus 3pt}

\setlength{\parskip}{3pt}
Loading