-
Notifications
You must be signed in to change notification settings - Fork 283
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
new easyblock for darshan #2548
base: develop
Are you sure you want to change the base?
new easyblock for darshan #2548
Conversation
|
||
#txt += self.module_generator.prepend_paths('PE_PKGCONFIG_LIBS', 'darshan-util', expand_relpaths=False) | ||
#txt += self.module_generator.prepend_paths('PE_PKGCONFIG_PRODUCTS', 'DARSHAN', expand_relpaths=False) | ||
#txt += self.module_generator.prepend_paths('DARSHAN_PKGCONFIG_LIBS', 'darshan', expand_relpaths=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block comment should start with '# '
txt += self.module_generator.prepend_paths('PE_PKGCONFIG_LIBS', 'darshan-runtime', expand_relpaths=False) | ||
|
||
#txt += self.module_generator.prepend_paths('PE_PKGCONFIG_LIBS', 'darshan-util', expand_relpaths=False) | ||
#txt += self.module_generator.prepend_paths('PE_PKGCONFIG_PRODUCTS', 'DARSHAN', expand_relpaths=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block comment should start with '# '
if self.toolchain.toolchain_family() == toolchain.CRAYPE: | ||
txt += self.module_generator.prepend_paths('PE_PKGCONFIG_LIBS', 'darshan-runtime', expand_relpaths=False) | ||
|
||
#txt += self.module_generator.prepend_paths('PE_PKGCONFIG_LIBS', 'darshan-util', expand_relpaths=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block comment should start with '# '
super(EB_Darshan, self).sanity_check_step(custom_paths) | ||
|
||
|
||
def make_module_extra(self, *args, **kwargs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many blank lines (2)
'bin/dxt_analyzer.py', | ||
'lib/libdarshan-util.a', | ||
], | ||
'dirs' : [ 'bin', 'lib', 'share' ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whitespace after '['
whitespace before ':'
whitespace before ']'
|
||
# environment variable may be defined but empty | ||
if os.getenv('MPICC', None) is None: | ||
raise EasyBuildError("Required environment variable %s not found (no toolchain used?).", envvar) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined name 'envvar'
extra_vars = { | ||
'mem_align': ["8", "determines if the buffer for a read or write operation is aligned in memory.", CUSTOM], | ||
'logpath_env': ["DARSHAN_LOG_DIR_PATH", "specifies an environment variable to use to determine the log path at run time", CUSTOM], | ||
'jobid_env': ['SLURM_JOB_ID', "specifies the environment variable that Darshan should check to determine the jobid of a job", CUSTOM], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (148 > 120 characters)
def extra_options(): | ||
extra_vars = { | ||
'mem_align': ["8", "determines if the buffer for a read or write operation is aligned in memory.", CUSTOM], | ||
'logpath_env': ["DARSHAN_LOG_DIR_PATH", "specifies an environment variable to use to determine the log path at run time", CUSTOM], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line too long (142 > 120 characters)
from easybuild.easyblocks.generic.configuremake import ConfigureMake | ||
from easybuild.framework.easyconfig import CUSTOM | ||
from easybuild.tools.build_log import EasyBuildError | ||
from easybuild.tools.config import get_module_syntax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'easybuild.tools.config.get_module_syntax' imported but unused
""" | ||
|
||
import os | ||
import shutil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'shutil' imported but unused
# along with EasyBuild. If not, see <http://www.gnu.org/licenses/>. | ||
## | ||
""" | ||
EasyBuild support for building and installing HPL, implemented as an easyblock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@satishskamath This is clearly incorrect, please fix (replace HPL with Darshan), and mention yourself + your affiliation as an author
@satishskamath Are you up for cleaning up the reported code style issues? |
Hi @boegel , I am up for making the changes but am currently on vacation until Sept 27th. Can I take make the changes right after my vacation? |
Of course, no rush! Do let us know if you need any help with this... |
(created using
eb --new-pr
)