GithubHelp home page GithubHelp logo

Comments (4)

jlarsen-usgs avatar jlarsen-usgs commented on June 18, 2024

@Matt-Webb1

It looks like this issue should be raised in the Modpath-7 github repo. The makebin.py script needs to be updated.

If you open makebin.py and change line 13 from
args = pymake.pymake.parser() to args = pymake.parser()

and change line 17 from
pymake.pymake.main(....... to pymake.main(........

the code should work

from pymake.

Matt-Webb1 avatar Matt-Webb1 commented on June 18, 2024

Thanks @jlarsen-usgs ! I tired that and I get a different error now:

F:\Matt\Downloads\modpath-v7-develop\modpath-v7-develop\pymake>python makebin.py -fc ifort -mc -ar intel64 ../source mpath7.exe
Traceback (most recent call last):
  File "makebin.py", line 17, in <module>
    pymake.main(args.srcdir, args.target, args.fc, args.cc, args.makeclean,
  File "C:\ProgramData\Anaconda3\lib\site-packages\pymake\pymake_base.py", line 256, in main
    returncode = _pymake_compile(
  File "C:\ProgramData\Anaconda3\lib\site-packages\pymake\pymake_base.py", line 759, in _pymake_compile
    lc, tlflags = _get_linker_flags(
  File "C:\ProgramData\Anaconda3\lib\site-packages\pymake\utils\_compiler_switches.py", line 684, in _get_linker_flags
    for idx, flag in enumerate(syslibs[1:]):
TypeError: 'bool' object is not subscriptable

F:\Matt\Downloads\modpath-v7-develop\modpath-v7-develop\pymake>python makebin.py -fc ifort -mc -ar ia32 ../source mpath7_win32.exe
Traceback (most recent call last):
  File "makebin.py", line 17, in <module>
    pymake.main(args.srcdir, args.target, args.fc, args.cc, args.makeclean,
  File "C:\ProgramData\Anaconda3\lib\site-packages\pymake\pymake_base.py", line 256, in main
    returncode = _pymake_compile(
  File "C:\ProgramData\Anaconda3\lib\site-packages\pymake\pymake_base.py", line 759, in _pymake_compile
    lc, tlflags = _get_linker_flags(
  File "C:\ProgramData\Anaconda3\lib\site-packages\pymake\utils\_compiler_switches.py", line 684, in _get_linker_flags
    for idx, flag in enumerate(syslibs[1:]):
TypeError: 'bool' object is not subscriptable

F:\Matt\Downloads\modpath-v7-develop\modpath-v7-develop\pymake>pause
Press any key to continue . . .

I'm trying to look into that now.

from pymake.

jlarsen-usgs avatar jlarsen-usgs commented on June 18, 2024

@Matt-Webb1

Just linked this issue to the modpath-v7 repository. Please follow up there for solutions.

from pymake.

Matt-Webb1 avatar Matt-Webb1 commented on June 18, 2024

Thanks!

from pymake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.