"vscode:/vscode.git/clone" did not exist on "b3ee3b69caf306ff5ae4f03276b76edc440649f6"
Commit 6269454b authored by peastman's avatar peastman
Browse files

Merge pull request #700 from peastman/master

testInstallation.py gives more information about errors
parents a8cd8456 96e6c4bc
......@@ -24,6 +24,7 @@ numPlatforms = Platform.getNumPlatforms()
print("There are", numPlatforms, "Platforms available:")
print()
forces = [None]*numPlatforms
platformErrors = {}
for i in range(numPlatforms):
platform = Platform.getPlatform(i)
print(i+1, platform.getName(), end=" ")
......@@ -36,6 +37,13 @@ for i in range(numPlatforms):
print("- Successfully computed forces")
except:
print("- Error computing forces with", platform.getName(), "platform")
platformErrors[platform.getName()] = sys.exc_info()[1]
# Give details of any errors.
for platform in platformErrors:
print()
print("%s platform error: %s" % (platform, platformErrors[platform]))
# See how well the platforms agree.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment