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

Supported apps #83

Merged
merged 17 commits into from
Dec 15, 2023
Merged
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
9 changes: 4 additions & 5 deletions docs/Scientific_Computing/Supported_Applications/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
title: Supported Applications
template: supportedApplications.html
---

<!-- template: supportedApplications.html -->


=== "Mahuika"
For more information on environment-modules see [Finding Software](../HPC_Software_Environment/Finding_Software.md).
<!-- === "Mahuika"

On Mahuika, and Ancillary nodes (both Mahuika and Māui) software packages are provided using 'lmod' an implementation of Environment Modules with [additional features](https://lmod.readthedocs.io/en/latest/010_user.html).

Expand All @@ -15,4 +14,4 @@ title: Supported Applications

On Māui (XC50), software packages are provided using traditional Environment Modules. No modules are loaded by default.

A list of available software can be obtained with the `module avail` command.
A list of available software can be obtained with the `module avail` command. -->
17 changes: 17 additions & 0 deletions docs/assets/stylesheets/supportedApplications.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@
color: var(--md-primary-bg-color);
background-color: #972220;
}

.grid.flex-card-parent {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: stretch;
align-items: stretch;
justify-content: space-between;
}

.flex-card {
flex-grow: 1;
}
.app-list-header {
display: inline;
}
Expand Down Expand Up @@ -248,3 +261,7 @@ div#updated {
#srchbar{
border-right:0;
}
.md-source-file{
display: none;
/* This is lazy */
}
13 changes: 0 additions & 13 deletions overrides/partials/.appCardBig.html.dep

This file was deleted.

39 changes: 21 additions & 18 deletions overrides/partials/appCard.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,37 @@ <h4 class="app-list-header">{{ app_name }}</h4>
<div class="card-body card-app">
<p class="cardbody cardbody-description">{{ app.description }}</p>
<!-- <div class="cardbody cardbody-info"> -->
<div class="grid cards">
{% include "partials/appVersion.html" -%}
<div>
<span class="bold">Links</span>
<div class="grid flex-card-parent">
<div class="flex-card">
<h5>Available Modules</h5>
{% include "partials/appVersion.html" -%}
</div>
<div class="flex-card">
<h5>Links</h5>
<ul class="docLinks-list">
{% if app.homepage or app.url -%}
<li class="support"><span class="twemoji">
{% include ".icons/material/home.svg" %}</span>
<a href="{{ app.homepage or app.url }}">
{% include ".icons/material/home.svg" %}</span>
<a href="{{ app.homepage or app.url }}">
{{ app_name }} Homepage</a></li>
{% endif -%}
{% if app.support -%}
<li class="support"> {% include ".icons/fontawesome/brands/twitter.svg" %} <a href="{{ app.support }}">NeSI Documentation</a></li>
{% endif -%}
</ul>
</div>
</div>
{% if app.licence_type %}
<span>
<span class="warning badge badge-licence badge-licence-{{ app.licence_type }}" style="margin-left: -2em;float: left;">
</span>
<p>Licence {{ app_name }} is {{ app.licence_type }} software.</p>
{% if app.licences %}
<p>Access to a valid licence token is required to run {{ app_name }}, a list of which can be found
<a href="{{ app.support }}#licences">here</a>.</p>
{% endif %}
</span">
{% endif %}
{% if app.licence_type %}
<div class="flex-card">
<h5>Licence</h5>
<span class="warning badge badge-licence badge-licence-{{ app.licence_type }}" style="margin-left: -2em;float: left;"></span>
<p>Licence {{ app_name }} is {{ app.licence_type }} software.</p>
{% if app.network_licences %}
<p>Access to a valid licence token is required to run {{ app_name }}.
{% include "partials/appNetworkLicence.html" -%}
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
</details>
2 changes: 2 additions & 0 deletions overrides/partials/appHeader.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

## Licences

<p>The following network licence servers can be accessed from the NeSI cluster.</p>
{% include "partials/appNetworkLicence.html" -%}
<p>If you do not have access, or want a server connected {% include "partials/support_request.html" %}.</p>

{% endif -%}
2 changes: 0 additions & 2 deletions overrides/partials/appNetworkLicence.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<p>The following network licence servers can be accessed from the NeSI cluster.</p>
<p>If you do not have access, or want a server connected {% include "partials/support_request.html" %}.</p>
<table>
<thead>
<tr>
Expand Down
4 changes: 4 additions & 0 deletions overrides/partials/supportedApplicationsList.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div class="article__body markdown" itemprop="articleBody">
<div class="layoutrow">
<!-- <script src="{{ base_url }}/js/somelib.js"></script> -->

<!-- <div id="updated" style="display: flex;">Updated:&nbsp;<div id="updated_timestamp">time</div></div> -->
<div class="input-group mb-3">
<div class="md-search__icon md-icon">
Expand All @@ -25,4 +27,6 @@
</div>
<br>
</div>
<p>If the application you are looking for is not here you can make <a href="https://support.nesi.org.nz/hc/en-gb/articles/360000361675-Software-Installation-Request">software installation</a> request or try <a href="https://support.nesi.org.nz/hc/en-gb/sections/360000040056-HPC-Software-Environment"> compiling it yourself.</a></p>
<em>You can help contribute to this list by tagging software <a href="https://github.com/nesi/modlist/blob/master/tags_domains.json">here</a>.</em>
</div>
13 changes: 11 additions & 2 deletions overrides/supportedApplications.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{% extends "base.html" -%}
{% block head -%}
{% endblock -%}
{% block libs %}
{{ super() }}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="{{ base_url }}/assets/javascripts/supportedApplications.js"></script>
<!-- Would be good if we could remove dependency on jq -->
{% endblock -%}
{% block styles %}
{{ super() }}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/supportedApplications.css">
{% endblock -%}

{% block content -%}
{{ super() }}
{% include "partials/supportedApplicationsList.html" %}
<p>If the application you are looking for is not here you can make <a href="https://support.nesi.org.nz/hc/en-gb/articles/360000361675-Software-Installation-Request">software installation</a> request or try <a href="https://support.nesi.org.nz/hc/en-gb/sections/360000040056-HPC-Software-Environment"> compiling it yourself.</a></p>
<em>You can help contribute to this list by tagging software <a href="https://github.com/nesi/modlist/blob/master/tags_domains.json">here</a>.</em>
{% endblock %}
Loading